Unset EXT just in case.

This commit is contained in:
Pavel Roskin 2003-09-10 00:17:25 +00:00
parent b965674fd7
commit 294cf76b3b

View File

@ -273,6 +273,7 @@ Z Extract compressed tar files to subdirectories
+ f \.gz$ | f \.tgz$ | f \.tpz$ | f \.Z$ | f \.z$ | f \.bz2$ & t r & ! t t + f \.gz$ | f \.tgz$ | f \.tpz$ | f \.Z$ | f \.z$ | f \.bz2$ & t r & ! t t
c Convert gz<->bz2, tar.gz<->tar.bz2 & tgz->tar.bz2 c Convert gz<->bz2, tar.gz<->tar.bz2 & tgz->tar.bz2
unset D unset D
unset EXT
case %f in case %f in
*.tgz) EXT=tgz;; *.tgz) EXT=tgz;;
*.tpz) EXT=tpz;; *.tpz) EXT=tpz;;
@ -298,6 +299,7 @@ C Convert gz<->bz2, tar.gz<->tar.bz2 & tgz->tar.bz2
while [ -n "$1" ] while [ -n "$1" ]
do do
unset D unset D
unset EXT
case $1 in case $1 in
*.tgz) EXT=tgz;; *.tgz) EXT=tgz;;
*.tpz) EXT=tpz;; *.tpz) EXT=tpz;;