r65224 - /scripts/repack_template.sh

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Mon Nov 22 20:17:24 UTC 2010


Author: dmn
Date: Mon Nov 22 20:17:17 2010
New Revision: 65224

URL: http://svn.debian.org/wsvn/?sc=1&rev=65224
Log:
add -n to gzip call

helps producing bit-by-bit equal tarballs by not storing the timestamp
in the compressed file

Modified:
    scripts/repack_template.sh

Modified: scripts/repack_template.sh
URL: http://svn.debian.org/wsvn/scripts/repack_template.sh?rev=65224&op=diff
==============================================================================
--- scripts/repack_template.sh (original)
+++ scripts/repack_template.sh Mon Nov 22 20:17:17 2010
@@ -35,7 +35,7 @@
 
 # Using a pipe hides tar errors!
 tar cfC "$DIR/repacked.tar" "$DIR" "$REPACK_DIR"
-gzip -9 < "$DIR/repacked.tar" > "$DIR/repacked.tar.gz"
+gzip -n -9 < "$DIR/repacked.tar" > "$DIR/repacked.tar.gz"
 
 mv "$DIR/repacked.tar.gz" "$FILE"
 




More information about the Pkg-perl-cvs-commits mailing list