git://git.jankratochvil.net
/
nethome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
703a217
)
+'.jar' extraction rule.
author
short
<>
Mon, 1 Mar 2004 23:14:21 +0000
(23:14 +0000)
committer
short
<>
Mon, 1 Mar 2004 23:14:21 +0000
(23:14 +0000)
bin/exx
patch
|
blob
|
history
diff --git
a/bin/exx
b/bin/exx
index
1c87db0
..
a37132d
100755
(executable)
--- a/
bin/exx
+++ b/
bin/exx
@@
-13,6
+13,7
@@
use constant FORMAT_TAR=>'tar xf $pathname;i=`echo *`;echo "$i"|grep -q " " || t
use constant FORMATS=>{
"rpm" =>'rpm2cpio $pathname|cpio -id --quiet', #-v #FIXME: --sparse doesn't work, why?
"zip" =>'unzip -Lq $pathname',
use constant FORMATS=>{
"rpm" =>'rpm2cpio $pathname|cpio -id --quiet', #-v #FIXME: --sparse doesn't work, why?
"zip" =>'unzip -Lq $pathname',
+ "jar" =>'unzip -Lq $pathname',
"a" =>'ar x $pathname',
"deb" =>'ar x $pathname;'
.'for i in *.tar.gz;do j=`basename $i .tar.gz`;mkdir -p $j;cd $j;tar xzf ../$i;cd ..;rm -f $i;done',
"a" =>'ar x $pathname',
"deb" =>'ar x $pathname;'
.'for i in *.tar.gz;do j=`basename $i .tar.gz`;mkdir -p $j;cd $j;tar xzf ../$i;cd ..;rm -f $i;done',