gzip --help might go to stderr

This commit is contained in:
Stepan Kasal 2005-08-12 11:27:03 +00:00
parent cabbfa68fa
commit 408f08d210
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-08-12 Stepan Kasal <kasal@ucw.cz>
* Makefile.maint (GZIP_ENV): When checking the help text of gzip,
add "2>&1"; gzip 1.2.4 prints help on stderr.
2005-07-27 Stepan Kasal <kasal@ucw.cz>
* lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason

View File

@ -27,7 +27,7 @@ ME := Makefile.maint
# Use --rsyncable if available.
GZIP_ENV = \
"--no-name --best$$( \
case $$(gzip --help) in \
case $$(gzip --help 2>&1) in \
(*--rsyncable*) echo ' --rsyncable';; \
esac \
)"