Mercurial > hg > octave-nkf > gnulib-hg
changeset 9389:086b5dd6c3be
(gzip_rsyncable): Don't fail if gzip sends --help to stdout.
Reported by sms@antinode.org (Steven M. Schweda).
author | Simon Josefsson <simon@josefsson.org> |
---|---|
date | Mon, 22 Oct 2007 08:02:39 +0200 |
parents | 6c030da207e8 |
children | e6944904022b |
files | ChangeLog build-aux/maint.mk |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +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.
--- a/build-aux/maint.mk +++ b/build-aux/maint.mk @@ -30,7 +30,7 @@ # 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.