summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2007-10-22 08:02:39 +0200
committerSimon Josefsson <simon@josefsson.org>2007-10-22 08:02:39 +0200
commitb942324d82c17e89893255fbd619a7de68fc8ef4 (patch)
tree5a473cd434fe2d531a2030cefcc8f2d1df590a95 /build-aux
parentd2e7b5e15ac6cf62020231c26ffeef25dcf5ffd9 (diff)
downloadgnulib-b942324d82c17e89893255fbd619a7de68fc8ef4.tar.gz
(gzip_rsyncable): Don't fail if gzip sends --help to stdout.
Reported by sms@antinode.org (Steven M. Schweda).
Diffstat (limited to 'build-aux')
-rw-r--r--build-aux/maint.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/maint.mk b/build-aux/maint.mk
index a7a5a28f87..662b37174f 100644
--- a/build-aux/maint.mk
+++ b/build-aux/maint.mk
@@ -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.