From: Joey Hess Date: Fri, 4 Jul 2008 18:29:47 +0000 (-0400) Subject: pristine-gz: Always pass -f to zgz X-Git-Tag: 0.16~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bf71d2cbca2ad472c8bd328e7830da7870a9e7a8;p=tools%2Fpristine-tar.git pristine-gz: Always pass -f to zgz to support cases where the gzip header claims that the original input file had an extension that suggests it was itself already compressed. (Although it can't really be.) Not doing the same for gzip because -f doesn't cause it to ignore extensions. See #475778 --- diff --git a/debian/changelog b/debian/changelog index 3440551..77464da 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,13 @@ +pristine-tar (0.16) UNRELEASED; urgency=low + + * pristine-gz: Always pass -f to zgz, to support cases where + the gzip header claims that the original input file had an extension + that suggests it was itself already compressed. (Although it can't really + be.) Not doing the same for gzip because -f doesn't cause it to ignore + extensions. See #475778 + + -- Joey Hess Fri, 04 Jul 2008 14:25:06 -0400 + pristine-tar (0.15) unstable; urgency=low * Fix POD issues. Closes: #484165 diff --git a/pristine-gz b/pristine-gz index 56097b0..f85a011 100755 --- a/pristine-gz +++ b/pristine-gz @@ -226,7 +226,7 @@ sub testvariant { } # try gzipping with the arguments passed - doit('zgz', @args, $new); + doit('zgz', '-f', @args, $new); $new .= '.gz'; unless (-e $new) { die("zgz failed, aborting");