summaryrefslogtreecommitdiffstats
path: root/scripts/makepkg
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-03-24 18:11:18 +0100
committerDan McGee <dan@archlinux.org>2007-03-24 18:11:18 +0100
commita07b490344483ddee2980214ef470cf4defdda3f (patch)
treec0acc68ad3e4ca15d301b5c59208d8425424831d /scripts/makepkg
parentf8d0601b8ddd0ed1913c13c6cf9fd61a933efa6c (diff)
downloadpacman-a07b490344483ddee2980214ef470cf4defdda3f.tar.gz
pacman-a07b490344483ddee2980214ef470cf4defdda3f.tar.xz
Andrew Fyfe <andrew@neptune-one.net>
* Fix FS #6688- builddeps not working in makepkg.
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