mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
Unset EXT just in case.
This commit is contained in:
parent
b965674fd7
commit
294cf76b3b
@ -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;;
|
||||||
|
Loading…
Reference in New Issue
Block a user