exec
[gnulib.git] / build-aux / maint.mk
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.