# HG changeset patch # User Antoine Bodin # Date 1301878921 -7200 # Node ID c545a19df5b5c142f22ccee13b3bcb7f46d81bed # Parent 67b0add039e2c1f194604aa9f3e6dbd3112f27e0 tazwok: fix an error which cause cookorder to be regenerated even if unneeded diff -r 67b0add039e2 -r c545a19df5b5 tazwok --- a/tazwok Mon Apr 04 02:55:10 2011 +0200 +++ b/tazwok Mon Apr 04 03:02:01 2011 +0200 @@ -1781,9 +1781,9 @@ cat $tmp/dep | sort -u fi rm -f $tmp/dep $tmp/list + sort -o $dep_db $dep_db + sort -o $wan_db $wan_db if [ "$db_md5" != "$(md5sum $dep_db $wan_db)" ]; then - sort -o $dep_db $dep_db - sort -o $wan_db $wan_db grep -q "^#" $PACKAGES_REPOSITORY/cookorder.txt || sed 1i"#PlanSort" -i $PACKAGES_REPOSITORY/cookorder.txt fi @@ -2672,9 +2672,9 @@ db_md5=$(md5sum $dep_db $wan_db) update_wan_db check_for_commit + sort -o $dep_db $dep_db + sort -o $wan_db $wan_db if [ "$db_md5" != "$(md5sum $dep_db $wan_db)" ]; then - sort -o $dep_db $dep_db - sort -o $wan_db $wan_db grep -q "^#" $PACKAGES_REPOSITORY/cookorder.txt || sed 1i"#PlanSort" -i $PACKAGES_REPOSITORY/cookorder.txt fi