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

@ -272,7 +272,8 @@ 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;;
@ -297,7 +298,8 @@ C Convert gz<->bz2, tar.gz<->tar.bz2 & tgz->tar.bz2
set %t set %t
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;;