diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-10-31 06:06:21 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-10-30 23:12:28 -0700 |
commit | 0c1f9fe19dacb213c08bce5dad502eeaeb52eb9c (patch) | |
tree | 73b86ae90cfadb4f1c6710a48e8ebac9c46c2807 | |
parent | 96b247571511935be5564f988bb64b180e4cd888 (diff) | |
download | unicorn-0c1f9fe19dacb213c08bce5dad502eeaeb52eb9c.tar.gz |
Explicitly specify that we mean to use stdin/stdout since not all tar(1) implementations default to it.
-rw-r--r-- | GNUmakefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile index 963809c..551b77a 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -57,7 +57,8 @@ http: lib/unicorn_http.$(DLEXT) $(test_prefix)/.stamp: $(inst_deps) mkdir -p $(test_prefix)/.ccache - tar c $(inst_deps) GIT-VERSION-GEN | (cd $(test_prefix) && tar x) + tar cf - $(inst_deps) GIT-VERSION-GEN | \ + (cd $(test_prefix) && tar xf -) $(MAKE) -C $(test_prefix) clean $(MAKE) -C $(test_prefix) http shebang > $@ @@ -249,8 +250,8 @@ $(pkgtgz): manifest fix-perms @test -n "$(distdir)" $(RM) -r $(distdir) mkdir -p $(distdir) - tar c `cat .manifest` | (cd $(distdir) && tar x) - cd pkg && tar c $(basename $(@F)) | gzip -9 > $(@F)+ + tar cf - `cat .manifest` | (cd $(distdir) && tar xf -) + cd pkg && tar cf - $(basename $(@F)) | gzip -9 > $(@F)+ mv $@+ $@ package: $(pkgtgz) $(pkggem) |