Newer
Older
Import / applications / HighwayDash / ports / update_svn_ignores.sh
@John John on 29 Dec 2020 413 bytes bulk import from macbookpro checkouts
#!/bin/bash

#  svn propset svn:ignore -F .svnignore .

cat .svnignore | while read FILE
do
  DIR=`dirname $FILE`
  BASE=`basename $FILE`
  cd $DIR
  # 2> /dev/null
  svn propget svn:ignore . > .existing_svn_ignores.tmp 2> /dev/null
  echo $BASE >> .existing_svn_ignores.tmp
  svn propset svn:ignore -F .existing_svn_ignores.tmp . > /dev/null 2> /dev/null
  rm .existing_svn_ignores.tmp
  cd - > /dev/null
done