gzip/fix-verbose-disable.patch
weiwei_tiantian 65feba82ae backport fix patches from upstream and fix build failure in OBS
(cherry picked from commit 43725f660564fa21667a106f5aae9e35738a0e34)
2022-04-02 10:57:27 +08:00

29 lines
790 B
Diff

From a210df14142c6e20669a8739c2d16ed3fbdfef2a Mon Sep 17 00:00:00 2001
From: pengyeqing <pengyeqing@huawei.com>
Date: Sat, 26 Jan 2019 03:24:48 +0800
Subject: [PATCH] gzip: fix verbose disable
reason:fix verbose disable
Signed-off-by: pengyeqing <pengyeqing@huawei.com>
---
zdiff.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zdiff.in b/zdiff.in
index 067f508..3633398 100644
--- a/zdiff.in
+++ b/zdiff.in
@@ -57,7 +57,7 @@ for arg
do
case $filesonly$needop$arg in
--h*) printf '%s\n' "$usage" || exit 2; exit;;
- --v*) printf '%s\n' "$version" || exit 2; exit;;
+ --version) printf '%s\n' "$version" || exit 2; exit;;
--) filesonly=t;;
-*\'*) cmp="$cmp '"`printf '%sX\n' "$arg" | sed "$escape"`;;
-[CDFISUWXx]) needop="'$arg'";;
--
2.27.0