diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-07-16 12:33:51 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-07-16 17:42:03 +0100 |
commit | f003a2342e846c512393749568fe85477a9f282a (patch) | |
tree | 56e70d9d9886ad03c0438027217aa112dcf99ee5 | |
parent | b294deda313d2cbf29e2401aac585736cb2582f3 (diff) |
Split brain: Use GZIP -1n to avoid spurious timestamp
Otherwise the cache entry's .dsc contains the hash of a fake
debian.tar.gz which has had a timestamp put in it by gzip, defeating
the cache.
-rwxr-xr-x | dgit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3055,7 +3055,7 @@ END } my $debtar= srcfn $fakeversion,'.debian.tar.gz'; - runcmd qw(env GZIP=-1 tar -zcf), "./$debtar", qw(-C ../../..), @files; + runcmd qw(env GZIP=-1n tar -zcf), "./$debtar", qw(-C ../../..), @files; $dscaddfile->($debtar); close $fakedsc or die $!; |