瀏覽代碼

tar: don't assume GZIP

* Makefile.am (dist-hook): Port to gzip implementations that
warn about nontrivial settings in the GZIP environment var.
Paul Eggert 10 年之前
父節點
當前提交
731b7b07de
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Makefile.am

+ 1 - 1
Makefile.am

@@ -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