diff options
-rw-r--r-- | trunk/mkbuild/generic.mkSlackBuild | 2 | ||||
-rw-r--r-- | trunk/mkbuild/kde4.mkSlackBuild | 2 | ||||
-rw-r--r-- | trunk/mkbuild/perl.mkSlackBuild | 2 | ||||
-rwxr-xr-x | trunk/src/mkbuild | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/trunk/mkbuild/generic.mkSlackBuild b/trunk/mkbuild/generic.mkSlackBuild index 0036fa9..6253331 100644 --- a/trunk/mkbuild/generic.mkSlackBuild +++ b/trunk/mkbuild/generic.mkSlackBuild @@ -308,7 +308,7 @@ if [ -e "$CWD/Manifest" ]; then ALGO_SRC="`"$ALGO"sum $MANIFEST_FILE | awk '{ print $1 }'`" fi ALGO="`echo $ALGO | tr '[:lower:]' '[:upper:]'`" - ALGO_MANIFEST=$(echo $MANIFEST_LINE | sed 's/.* $ALGO //' | awk '{ print $1 }') + ALGO_MANIFEST=$(echo $MANIFEST_LINE | sed "s/.* $ALGO //" | awk '{ print $1 }') if [ "$ALGO_SRC" != "$ALGO_MANIFEST" ]; then echo "$ALGO Manifest: $ALGO_MANIFEST; $ALGO $SRC: $ALGO_SRC" exit $ERROR_MANIFEST diff --git a/trunk/mkbuild/kde4.mkSlackBuild b/trunk/mkbuild/kde4.mkSlackBuild index 204d2c6..3e4cace 100644 --- a/trunk/mkbuild/kde4.mkSlackBuild +++ b/trunk/mkbuild/kde4.mkSlackBuild @@ -295,7 +295,7 @@ if [ -e "$CWD/Manifest" ]; then ALGO_SRC="`"$ALGO"sum $MANIFEST_FILE | awk '{ print $1 }'`" fi ALGO="`echo $ALGO | tr '[:lower:]' '[:upper:]'`" - ALGO_MANIFEST=$(echo $MANIFEST_LINE | sed 's/.* $ALGO //' | awk '{ print $1 }') + ALGO_MANIFEST=$(echo $MANIFEST_LINE | sed "s/.* $ALGO //" | awk '{ print $1 }') if [ "$ALGO_SRC" != "$ALGO_MANIFEST" ]; then echo "$ALGO Manifest: $ALGO_MANIFEST; $ALGO $SRC: $ALGO_SRC" exit $ERROR_MANIFEST diff --git a/trunk/mkbuild/perl.mkSlackBuild b/trunk/mkbuild/perl.mkSlackBuild index de16b08..ba98274 100644 --- a/trunk/mkbuild/perl.mkSlackBuild +++ b/trunk/mkbuild/perl.mkSlackBuild @@ -256,7 +256,7 @@ if [ -e "$CWD/Manifest" ]; then ALGO_SRC="`"$ALGO"sum $MANIFEST_FILE | awk '{ print $1 }'`" fi ALGO="`echo $ALGO | tr '[:lower:]' '[:upper:]'`" - ALGO_MANIFEST=$(echo $MANIFEST_LINE | sed 's/.* $ALGO //' | awk '{ print $1 }') + ALGO_MANIFEST=$(echo $MANIFEST_LINE | sed "s/.* $ALGO //" | awk '{ print $1 }') if [ "$ALGO_SRC" != "$ALGO_MANIFEST" ]; then echo "$ALGO Manifest: $ALGO_MANIFEST; $ALGO $SRC: $ALGO_SRC" exit $ERROR_MANIFEST diff --git a/trunk/src/mkbuild b/trunk/src/mkbuild index cd89fbe..bb5a9bf 100755 --- a/trunk/src/mkbuild +++ b/trunk/src/mkbuild @@ -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)); do + for candidate in $(find $path -name $(basename $file) | grep -v "/\.svn"); do if [ ! -z "$candidate" ]; then break 2 fi |