]> Dogcows Code - chaz/tar/commitdiff
tar: don't assume GZIP
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 18 Mar 2015 05:54:28 +0000 (22:54 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 18 Mar 2015 05:56:01 +0000 (22:56 -0700)
* Makefile.am (dist-hook): Port to gzip implementations that
warn about nontrivial settings in the GZIP environment var.

Makefile.am

index 96505c00094f41d6238bc5f54c75023a2800d98d..4928d2f7c5ac65b54d88eb3b49af5bc238381a46 100644 (file)
@@ -26,7 +26,7 @@ dist-hook:
        $(MAKE) changelog_dir=$(distdir) ChangeLog
        -rm -f $(distdir).cpio
        find $(distdir) | cpio -Hcrc -o | \
-          GZIP=$(GZIP_ENV) gzip -c > $(distdir).cpio.gz
+          eval GZIP= gzip $(GZIP_ENV) -c > $(distdir).cpio.gz
 
 distclean-local:
        -rm -f $(distdir).cpio.gz
This page took 0.019064 seconds and 4 git commands to generate.