diff -uprN pacman-lib/scripts/makeworld pacman-lib.mine/scripts/makeworld --- pacman-lib/scripts/makeworld 2007-02-17 16:02:26.000000000 +0100 +++ pacman-lib.mine/scripts/makeworld 2007-03-20 18:29:28.000000000 +0100 @@ -144,7 +144,7 @@ for category in $*; do . PKGBUILD buildstatus=0 if [ ! -f $dest/$pkgname-$pkgver-$pkgrel.pkg.tar.gz ]; then - makepkg $MAKEPKG_OPTS -m -w $dest 2>>$toplevel/makepkg.log + PKGDEST=$dest makepkg $MAKEPKG_OPTS -m 2>>$toplevel/makepkg.log if [ $? -gt 0 ]; then buildstatus=2 else