summaryrefslogtreecommitdiff
path: root/scripts/makepkg
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/makepkg')
-rwxr-xr-xscripts/makepkg4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/makepkg b/scripts/makepkg
index dfa167ec..426b0e95 100755
--- a/scripts/makepkg
+++ b/scripts/makepkg
@@ -252,9 +252,9 @@ handledeps() {
if [ -f "$pkgdir/$BUILDSCRIPT" ]; then
cd "$pkgdir"
if [ "$RMDEPS" = "1" ]; then
- makepkg -i -c -b -r -w $PKGDEST
+ PKGDEST="$PKGDEST" makepkg -i -c -b -r
else
- makepkg -i -c -b -w $PKGDEST
+ PKGDEST="$PKGDEST" makepkg -i -c -b
fi
if [ $? -eq 0 ]; then
success=1