diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2011-01-19 11:45:35 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2011-01-19 11:45:35 +0200 |
commit | 9d542ceebcbe40b174169c132ccfcdc720ca7089 (patch) | |
tree | 5ed9f931225122af289863e6d53aceb2f1013f0a /src/scripts/xzdiff.in | |
parent | Merge branch 'v5.0' (diff) | |
parent | Updated THANKS. (diff) | |
download | xz-9d542ceebcbe40b174169c132ccfcdc720ca7089.tar.xz |
Merge branch 'v5.0'
Diffstat (limited to 'src/scripts/xzdiff.in')
-rw-r--r-- | src/scripts/xzdiff.in | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/scripts/xzdiff.in b/src/scripts/xzdiff.in index 2d6e5da4..45633e0a 100644 --- a/src/scripts/xzdiff.in +++ b/src/scripts/xzdiff.in @@ -74,9 +74,9 @@ if test $# -eq 1; then *[-.]xz | *[-.]lzma | *.t[lx]z) ;; *[-.]bz2 | *.tbz | *.tbz2) - xz1=$bzip2;; + xz1=bzip2;; *[-.][zZ] | *_z | *[-.]gz | *.t[ag]z) - xz1=$gzip;; + xz1=gzip;; *) echo >&2 "$0: $1: Unknown compressed file name suffix" exit 2;; @@ -95,12 +95,12 @@ if test $# -eq 1; then ) elif test $# -eq 2; then case $1 in - *[-.]bz2 | *.tbz | *.tbz2) xz1=$bzip2;; - *[-.][zZ] | *_z | *[-.]gz | *.t[ag]z) xz1=$gzip;; + *[-.]bz2 | *.tbz | *.tbz2) xz1=bzip2;; + *[-.][zZ] | *_z | *[-.]gz | *.t[ag]z) xz1=gzip;; esac case $2 in - *[-.]bz2 | *.tbz | *.tbz2) xz2=$bzip2;; - *[-.][zZ] | *_z | *[-.]gz | *.t[ag]z) xz2=$gzip;; + *[-.]bz2 | *.tbz | *.tbz2) xz2=bzip2;; + *[-.][zZ] | *_z | *[-.]gz | *.t[ag]z) xz2=gzip;; esac case $1 in *[-.][zZ] | *_z | *[-.][gx]z | *[-.]bz2 | *[-.]lzma | *.t[abglx]z | *.tbz2 | -) |