more system-independent order of components.sha1 to keep changes monotonic;
authorwenzelm
Thu, 17 Jan 2013 14:11:26 +0100
changeset 50932 ca071373b695
parent 50931 a7484a7b6c8a
child 50933 e424e17ee420
more system-independent order of components.sha1 to keep changes monotonic;
Admin/lib/Tools/components_checksum
--- a/Admin/lib/Tools/components_checksum	Thu Jan 17 12:04:52 2013 +0100
+++ b/Admin/lib/Tools/components_checksum	Thu Jan 17 14:11:26 2013 +0100
@@ -71,11 +71,10 @@
 
 (
   cd "$COMPONENTS_DIR"
-  sha1sum *.tar.gz > "$CHECKSUM_TMP"
+  sha1sum *.tar.gz | sort -k2 > "$CHECKSUM_TMP"
 )
 
 [ -n "$UPDATE" ] && mv "$CHECKSUM_TMP" "$CHECKSUM_FILE"
 [ -n "$CHECK" ] && {
   diff "$CHECKSUM_FILE" "$CHECKSUM_TMP" || fail "Integrity error"
 }
-