tazwok rev 142
tazwok: fix regen packages depending on compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 02 17:17:49 2009 +0200 (2009-07-02) |
parents | 32fe1a5bde6f |
children | 0e34d8dd4b34 |
files | tazwok |
line diff
1.1 --- a/tazwok Wed Jul 01 12:05:36 2009 +0200 1.2 +++ b/tazwok Thu Jul 02 17:17:49 2009 +0200 1.3 @@ -354,9 +354,14 @@ 1.4 echo "" 1.5 echo "compilation done : `date +%Y%m%d\ \%H:%M:%S`" >> $LOG 1.6 1.7 + # Regenerate every package who want PACKAGE compiled 1.8 + # make tazwok genpkg happy 1.9 + mkdir $WOK/$PACKAGE/taz 1.10 for i in $( grep -l "^WANTED=\"$PACKAGE\"" $WOK/*/receipt) ; do 1.11 tazwok genpkg $(basename $(dirname $i)) 1.12 done 1.13 + # Still need tazwok genpkg for this package 1.14 + rm -rf $WOK/$PACKAGE/taz 1.15 else 1.16 echo "================================================================================" 1.17 echo "Compilation failed. Please read the compilator output."