(gzip_rsyncable): Don't fail if gzip sends --help to stdout.
authorSimon Josefsson <simon@josefsson.org>
Mon, 22 Oct 2007 06:02:39 +0000 (08:02 +0200)
committerSimon Josefsson <simon@josefsson.org>
Mon, 22 Oct 2007 06:02:39 +0000 (08:02 +0200)
Reported by sms@antinode.org (Steven M. Schweda).

ChangeLog
build-aux/maint.mk

index a14048c..aefe61d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2007-10-22  Simon Josefsson  <simon@josefsson.org>
 
+       * build-aux/maint.mk (gzip_rsyncable): Don't fail if gzip sends
+       --help to stdout.  Reported by sms@antinode.org (Steven
+       M. Schweda).
+
+2007-10-22  Simon Josefsson  <simon@josefsson.org>
+
        * users.txt: Fix link to libksba.
 
 2007-10-21  Ben Pfaff  <blp@gnu.org>
index a7a5a28..662b371 100644 (file)
@@ -30,7 +30,7 @@ C_SOURCES += $(C_SOURCES_ADD)
 # Do not save the original name or timestamp in the .tar.gz file.
 # Use --rsyncable if available.
 gzip_rsyncable := \
-  $(shell gzip --help|grep rsyncable >/dev/null && echo --rsyncable)
+  $(shell gzip --help 2>/dev/null|grep rsyncable >/dev/null && echo --rsyncable)
 GZIP_ENV = '--no-name --best $(gzip_rsyncable)'
 
 # Prevent programs like 'sort' from considering distinct strings to be equal.