# HG changeset patch # User Antoine Bodin # Date 1296441656 -3600 # Node ID 50409f2b7ad6003d56b217cb5b10ef906670b31c # Parent 0311568a66bbd9635d558dec835548ba7c5a9657 Fix minor issue about Updating receipt size status display diff -r 0311568a66bb -r 50409f2b7ad6 tazwok --- a/tazwok Mon Jan 31 03:11:11 2011 +0100 +++ b/tazwok Mon Jan 31 03:40:56 2011 +0100 @@ -925,7 +925,8 @@ 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 - if [ -n "$EXTRAVERSION" ]; then + report end-step + if [ "$EXTRAVERSION" ]; then report step "Updating receipt EXTRAVERSION" sed -i s/^EXTRAVERSION.*$// receipt sed -i "s/^VERSION=/EXTRAVERSION=\"$EXTRAVERSION\"\nVERSION=/" receipt