From: Jim Meyering Date: Thu, 24 Mar 2016 16:06:18 +0000 (-0700) Subject: gzip: also honor GZIP=--rsyncable X-Git-Tag: v1.7~4 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=91907badcd65c09fa9f576c35fad66c8b479232a;p=debian%2Fgzip gzip: also honor GZIP=--rsyncable * gzip.c (main): Also accept --rsyncable when it is specified via the GZIP environment variable. I noticed this when gzip's "make dist" failed because maint.mk detected that gzip now honors --rsyncable, yet when it set GZIP_ENV to include that, and that propagated via automake-generated code to the GZIP setting used in the "make dist" rule, there, it was not honored, and caused "make dist" to fail. --- diff --git a/gzip.c b/gzip.c index 61b19fb..d66530a 100644 --- a/gzip.c +++ b/gzip.c @@ -560,6 +560,7 @@ int main (int argc, char **argv) break; case RSYNCABLE_OPTION: + case RSYNCABLE_OPTION + ENV_OPTION: rsync = 1; break; case 'S':