git://git.jankratochvil.net
/
nethome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
+macro editor ALT-w: wrap text (subject line) to " [WAS: &]"
[nethome.git]
/
bin
/
unzipx
diff --git
a/bin/unzipx
b/bin/unzipx
index
8e988d7
..
506c57c
100755
(executable)
--- a/
bin/unzipx
+++ b/
bin/unzipx
@@
-4,7
+4,9
@@
if [ $# = 0 ];then
exit 1
fi
while [ $# -gt 0 ];do
- d=`basename "$1" .zip`
+ d="$1"
+ d=`basename "$d" .zip`
+ d=`basename "$d" .ZIP`
if [ -f "$d" ];then
d="$d.dir"
fi