]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
minor fix
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Wed, 24 Dec 2008 16:21:48 +0000 (16:21 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Wed, 24 Dec 2008 16:21:48 +0000 (16:21 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@712 04377dda-e619-0410-9926-eae83683ac58

trunk/src/mkbuild

index bb5a9bfbd10bd2c92ae96a808315ed980edd91cf..d95789796345d080da81622da6335e97d5889dd8 100755 (executable)
@@ -851,7 +851,7 @@ function edit_manifest {
   done
 
   # Update miscelaneous information
-  for i in `find $WORK | grep -E -v '(SlackBuild|old|slack-required|.mkbuild$|.tmp$|Manifest$)\*{0,1}$'`; do
+  for i in `find $WORK | grep -E -v '(SlackBuild|old|slack-required|.mkbuild$|.tmp$|Manifest$)\*{0,1}$' | grep -v "/\.svn"`; do
     if [ ! -d "$WORK/$i" ] && [ "`basename $i`" != "$DIST_SRC_NAME" ]; then
       update_manifest_info $i misc
     fi
@@ -896,7 +896,7 @@ function get_dist_file {
     echo "Trying to find $(basename $file) at $folders..."
 
     for path in $folders; do
-      for candidate in $(find $path -name $(basename $file) | grep -v "/\.svn"); do
+      for candidate in $(find $path -name $(basename $file)); do
         if [ ! -z "$candidate" ]; then
           break 2
         fi