Code

[PATCH] Use gzip -f when building the git-core tarball
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 15 Jul 2005 01:20:50 +0000 (19:20 -0600)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 15 Jul 2005 18:38:24 +0000 (11:38 -0700)
This allows rebuilding the tarball when it is already present
without having to answer annoying questions from gzip

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Makefile

index 34a54a8633eb8d20b8f0b51c1683474f3655381e..cf162a9daedc850c533f6326ba70b755f41d0c71 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -184,7 +184,7 @@ dist: git-core.spec git-tar-tree
        @cp git-core.spec $(GIT_TARNAME)
        tar rf $(GIT_TARNAME).tar $(GIT_TARNAME)/git-core.spec
        @rm -rf $(GIT_TARNAME)
-       gzip -9 $(GIT_TARNAME).tar
+       gzip -f -9 $(GIT_TARNAME).tar
 
 rpm: dist
        $(RPMBUILD) -ta git-core-$(GIT_VERSION).tar.gz