From b942324d82c17e89893255fbd619a7de68fc8ef4 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Mon, 22 Oct 2007 08:02:39 +0200 Subject: [PATCH] (gzip_rsyncable): Don't fail if gzip sends --help to stdout. Reported by sms@antinode.org (Steven M. Schweda). --- ChangeLog | 6 ++++++ build-aux/maint.mk | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a14048c3cf..aefe61d5be 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-10-22 Simon Josefsson + + * 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 * users.txt: Fix link to libksba. 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. -- 2.30.2