aboutsummaryrefslogtreecommitdiff
path: root/trunk
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-01-04 17:44:41 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-01-04 17:44:41 +0000
commitd2d8c5293d89cc32451f58ee012bd4d8921520b5 (patch)
treed6373dc17581616f35cd460cca5b031a4eb6b011 /trunk
parent8941e21542305948d97d0b8bc759ff8c0250418d (diff)
downloadsimplepkg-d2d8c5293d89cc32451f58ee012bd4d8921520b5.tar.gz
simplepkg-d2d8c5293d89cc32451f58ee012bd4d8921520b5.tar.bz2
more fixes for #67
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@733 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk')
-rwxr-xr-xtrunk/src/mkbuild4
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"