Accepting request 48470 from home:vuntz:branches:Base:System
OBS-URL: https://build.opensuse.org/request/show/48470 OBS-URL: https://build.opensuse.org/package/show/Base:System/gzip?expand=0&rev=12
This commit is contained in:
committed by
Git OBS Bridge
parent
443c3baf68
commit
8cdc6a4ecc
@@ -2,7 +2,7 @@ Index: zgrep.in
|
||||
===================================================================
|
||||
--- zgrep.in.orig
|
||||
+++ zgrep.in
|
||||
@@ -148,10 +148,18 @@ res=0
|
||||
@@ -176,13 +176,21 @@ res=0
|
||||
|
||||
for i
|
||||
do
|
||||
@@ -17,6 +17,9 @@ Index: zgrep.in
|
||||
# Fail if gzip or grep (or sed) fails.
|
||||
gzip_status=$(
|
||||
exec 5>&1
|
||||
if test $pat_on_stdin -eq 1; then
|
||||
eval "exec $pat_fd<&0"
|
||||
fi
|
||||
- (gzip -cdfq -- "$i" 5>&-; echo $? >&5) 3>&- |
|
||||
+ ($uncompress -cdfq -- "$i" 5>&-; echo $? >&5) 3>&- |
|
||||
if test $files_with_matches -eq 1; then
|
||||
|
Reference in New Issue
Block a user