# HG changeset patch # User Pascal Bellard # Date 1246268974 -7200 # Node ID 161fe8f55331839ef66112ad8caec848b85d1d9f # Parent 711dd1c7d1c6b903deae294d2da92a25e78077b9 tazwok: regen add packages depending on compile_rules diff -r 711dd1c7d1c6 -r 161fe8f55331 tazwok --- a/tazwok Mon Jun 22 01:58:01 2009 +0200 +++ b/tazwok Mon Jun 29 11:49:34 2009 +0200 @@ -350,6 +350,10 @@ echo "$PACKAGE compiled on : `date +%Y%m%d\ \%H:%M:%S`" echo "" echo "compilation done : `date +%Y%m%d\ \%H:%M:%S`" >> $LOG + + for i in $( grep -l "WANTED=\"$PACKAGE\"" $WOK/*/receipt) ; do + tazwok genpkg $(basename $(dirname $i)) + done else echo "================================================================================" echo "Compilation failed. Please read the compilator output." @@ -580,8 +584,8 @@ description.txt 2> /dev/null | awk '{ sz=$1 } END { print sz }') status echo -n "Updating receipt sizes..." - sed -i s/^PACKED_SIZE.*$// receipt - sed -i s/^UNPACKED_SIZE.*$// receipt + sed -i '/^PACKED_SIZE/d' receipt + sed -i '/^UNPACKED_SIZE/d' receipt sed -i "s/^PACKAGE=/PACKED_SIZE=\"$PACKED_SIZE\"\nUNPACKED_SIZE=\"$UNPACKED_SIZE\"\nPACKAGE=/" receipt sed -i "s/^VERSION=$/VERSION=\"$VERSION\"/" receipt status