[pacman-dev] [patch] makeworld and makepkg -w
Alessio 'mOLOk' Bolognino
themolok.ml at gmail.com
Tue Mar 20 13:38:11 EDT 2007
This patch makes makeworld script working with the latest makepkg that
doesn't have the "-w" option.
It's my first patch, I hope it's in the right format.
--
Alessio 'mOLOk' Bolognino
Arch Linux Trusted User
http://www.archlinux.org
-------------- next part --------------
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
More information about the pacman-dev
mailing list