diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2011-09-07 15:47:10 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2011-09-07 15:47:10 -0300 |
commit | 00592929fa729aadb084d4e59c3658ea76e31ea2 (patch) | |
tree | bd7af5cd218c5565185cc7a98cf24fcbacf99ecc /libre/p7zip-libre/unzip | |
parent | 9f1c4bc86d2cc8eae006c9caaf1eebd6e2e3116e (diff) | |
download | abslibre-00592929fa729aadb084d4e59c3658ea76e31ea2.tar.gz abslibre-00592929fa729aadb084d4e59c3658ea76e31ea2.tar.bz2 abslibre-00592929fa729aadb084d4e59c3658ea76e31ea2.zip |
libre/p7zip-libre-9.20.1-1
Diffstat (limited to 'libre/p7zip-libre/unzip')
-rwxr-xr-x | libre/p7zip-libre/unzip | 18 |
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 "$@" |