wok rev 6092
tazbb/sort_cook_list: small fixes
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 30 15:31:22 2010 +0200 (2010-08-30) |
parents | 32233f725ab5 |
children | 36764a3b1360 |
files | tazbb/stuff/tazbb |
line diff
1.1 --- a/tazbb/stuff/tazbb Mon Aug 30 11:56:07 2010 +0200 1.2 +++ b/tazbb/stuff/tazbb Mon Aug 30 15:31:22 2010 +0200 1.3 @@ -426,15 +426,15 @@ 1.4 for i in $WANTED $BUILD_DEPENDS ; do 1.5 # Verify that the dependancy exists and is older 1.6 if [ -f $BUILD_WOK/$i/taz/*/receipt ] && 1.7 - [ $BUILD_WOK/$pkg/taz/*/receipt 1.8 + [ $BUILD_WOK/$pkg/taz/*/receipt \ 1.9 -nt $BUILD_WOK/$i/taz/*/receipt ]; then 1.10 WANTED="" 1.11 . $BUILD_WOK/$i/receipt 1.12 - [ -n "$WANTED" ] && continue 1.13 + [ -n "$WANTED" ] || continue 1.14 # This dependancy may be cooked 1.15 # by another package 1.16 [ -f $BUILD_WOK/$WANTED/taz/*/receipt ] && 1.17 - [ $BUILD_WOK/$pkg/taz/*/receipt 1.18 + [ $BUILD_WOK/$pkg/taz/*/receipt \ 1.19 -nt $BUILD_WOK/$WANTED/taz/*/receipt ] && 1.20 continue 1.21 i=$WANTED