diff options
Diffstat (limited to 'trunk/src/mkbuild')
-rwxr-xr-x | trunk/src/mkbuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/trunk/src/mkbuild b/trunk/src/mkbuild index e6205ea..229b9cd 100755 --- a/trunk/src/mkbuild +++ b/trunk/src/mkbuild @@ -624,7 +624,7 @@ function submit_slackbuild { done # remove stuff in old places - for candidate in `find . -name $SLACKBUILD`; do + for candidate in $(find . -name $(basename $SLACKBUILD)); do oldplace="`dirname $candidate | sed -e 's/^\.\///'`" if [ "$oldplace" != "$SLACKBUILD_PATH" ]; then echo "Removing SlackBuild found at old path $oldplace" @@ -670,7 +670,7 @@ function submit_mkbuild { done # remove stuff in old places - for candidate in `find . -name $MKBUILD_NAME`; do + for candidate in $(find . -name $(basename $MKBUILD_NAME)); do oldplace="`dirname $candidate | sed -e 's/^\.\///'`" if [ "$oldplace" != "$MKBUILD_PATH" ]; then echo "Removing mkbuild found at old path $oldplace" |