From 91907badcd65c09fa9f576c35fad66c8b479232a Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 24 Mar 2016 09:06:18 -0700 Subject: [PATCH] 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. --- gzip.c | 1 + 1 file changed, 1 insertion(+) 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': -- 2.8.0-rc2