aboutsummaryrefslogtreecommitdiffhomepage
path: root/git-buildpackage
diff options
context:
space:
mode:
authorGuido Guenther <agx@sigxcpu.org>2007-11-03 13:03:03 +0100
committerGuido Guenther <agx@sigxcpu.org>2007-11-03 13:03:03 +0100
commit2f6a2d3bd1c2fda24be7aa09940e3e5ece676c8c (patch)
tree7f3f78f6a869cc1359feeeb881ecb1f76b2d03cc /git-buildpackage
parentd2c4a9e7a7d334dfd21e49c5f9d0c97a000fcda5 (diff)
call gzip with "-n" (Closes: #449094) - thanks to Romain Francoise
Diffstat (limited to 'git-buildpackage')
-rwxr-xr-xgit-buildpackage3
1 files changed, 2 insertions, 1 deletions
diff --git a/git-buildpackage b/git-buildpackage
index 147e98e5..10291291 100755
--- a/git-buildpackage
+++ b/git-buildpackage
@@ -51,9 +51,10 @@ def create_orig(cp, output_dir, treeish):
"create an orig.tar.gz in output_dir"
output = os.path.join(output_dir, orig_file(cp))
prefix = "%s-%s" % (cp['Source'], cp['Upstream-Version'])
+ gzip_opts = "-9 -n"
pipe = pipes.Template()
- pipe.append('gzip -c -9', '--')
+ pipe.append('gzip -c %s' % gzip_opts, '--')
return git_archive_pipe(prefix, pipe, output, treeish)