FS#10137 - makeworl can't detect already build packages
Attached to Project:
Pacman
Opened by Alexander Drozdov (adrozdov) - Thursday, 10 April 2008, 12:40 GMT
Last edited by Allan McRae (Allan) - Wednesday, 16 July 2008, 02:48 GMT
Opened by Alexander Drozdov (adrozdov) - Thursday, 10 April 2008, 12:40 GMT
Last edited by Allan McRae (Allan) - Wednesday, 16 July 2008, 02:48 GMT
|
Details
Summary and Info: Fix 'makeworld' script for check already
build packets. Now arch of packets is not used.
My fix for this issue: ------ cut --- /usr/bin/makeworld.orig 2008-04-10 23:19:38.000000000 +1100 +++ /usr/bin/makeworld 2008-04-10 23:29:50.000000000 +1100 @@ -104,7 +104,8 @@ if [ -f PKGBUILD ]; then . PKGBUILD buildstatus=0 - if [ ! -f "$dest/$pkgname-$pkgver-$pkgrel.pkg.tar.gz" ]; then + arch=`arch` + if [ ! -f "$dest/$pkgname-$pkgver-$pkgrel.pkg.tar.gz" -a ! -f "$dest/$pkgname-$pkgver-$pkgrel-$arch.pkg.tar.gz" ]; then PKGDEST="$dest" makepkg $MAKEPKG_OPTS -m 2>>$toplevel/makepkg.log if [ $? -gt 0 ]; then buildstatus=2 ------ cut |
This task depends upon
Comment by Dan McGee (toofishes) -
Wednesday, 16 July 2008, 00:30 GMT
- Field changed: Status (Unconfirmed → Assigned)
- Field changed: Category (General → Scripts & Tools)
- Task assigned to Allan McRae (Allan)
Old bugs are old. Allan, is this still relevant?
Comment by Allan McRae (Allan) -
Wednesday, 16 July 2008, 02:48 GMT
Fixed in commit 91715cf9 on 2008-04-13