summaryrefslogtreecommitdiff
path: root/libre/p7zip-libre/unzip
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-09-08 13:03:13 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-09-08 13:03:13 -0300
commit69d3aee0c3f0bb876065264baccf86c13088dd01 (patch)
treef0770717cfd64d4ac1372bcc7282aa727238622e /libre/p7zip-libre/unzip
parent23efa76d7853497f065b92885180513d3882f424 (diff)
parente63433d7f10b5c32f348d4b2cfb38c777b314420 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: libre/kdeutils-libre/PKGBUILD
Diffstat (limited to 'libre/p7zip-libre/unzip')
-rwxr-xr-xlibre/p7zip-libre/unzip18
1 files changed, 18 insertions, 0 deletions
diff --git a/libre/p7zip-libre/unzip b/libre/p7zip-libre/unzip
new file mode 100755
index 000000000..201dc826c
--- /dev/null
+++ b/libre/p7zip-libre/unzip
@@ -0,0 +1,18 @@
+#!/bin/bash
+# unzip replacement written by Henry Jensen <hjensen@gmx.de>
+
+Opts=""
+cm="x"
+while getopts plvtTZ opt
+do
+ case $opt in
+ p) Opts="$Opts -so";;
+ v|l) cm="l";;
+ t) cm="t";;
+ T|Z) ;;
+ \?)break;;
+ esac
+done
+shift $((OPTIND-1))
+
+7z $cm $Opts "$@"