diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2007-02-08 22:54:59 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2007-02-08 22:54:59 +0000 |
commit | 80ea6acbb957497825354cebe3452ce0c58e314e (patch) | |
tree | 081b92710e7352a0017e7af279f36fbed2b76f99 /zdiff.in | |
parent | b3b206059eeacd5f06a6ac8497d9f93efc99cdf2 (diff) | |
download | gzip-80ea6acbb957497825354cebe3452ce0c58e314e.tar.gz |
* zdiff.in: Don't use '((' in a shell script, as it's not portable
to some ksh implementations, e.g., Solaris 10 ksh M-11/16/88i.
Problem reported by Nelson H. F. Beebe in
<http://lists.gnu.org/archive/html/bug-gzip/2007-02/msg00005.html>.
Diffstat (limited to 'zdiff.in')
-rw-r--r-- | zdiff.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -103,7 +103,7 @@ elif test $# -eq 2; then gzip_status=$( exec 4>&1 (gzip -cdfq -- "$1" 4>&-; echo $? >&4) 3>&- | - ((gzip -cdfq -- "$2" 4>&-; echo $? >&4) 3>&- 5<&- </dev/null | + ( (gzip -cdfq -- "$2" 4>&-; echo $? >&4) 3>&- 5<&- </dev/null | eval "$cmp" /dev/fd/5 -) 5<&0 ) case $gzip_status in |