+'.jar' extraction rule.
authorshort <>
Mon, 1 Mar 2004 23:14:21 +0000 (23:14 +0000)
committershort <>
Mon, 1 Mar 2004 23:14:21 +0000 (23:14 +0000)
bin/exx

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',
+       "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',