X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=utils%2Fjarunsigner.pl;h=a10fa91f6f226857107b957570d1f18a6f6fa627;hb=7058e7038efecc324c2f6e97f13142050a78b178;hp=f18f94cf5d1f192e40a7ea885c38185473f27c2b;hpb=d9ec8d11987c70affbbb863076993a6adfd3467b;p=jalview.git diff --git a/utils/jarunsigner.pl b/utils/jarunsigner.pl index f18f94c..a10fa91 100755 --- a/utils/jarunsigner.pl +++ b/utils/jarunsigner.pl @@ -24,8 +24,9 @@ while (scalar @jarfiles) { system("rm -Rf *"); system("jar xf $jarfile"); system("mv $jarfile $jarfile.bak"); - system("rm META-INF/*.SF"); - system("rm META-INF/*.RSA"); + system("find META-INF \\( -name \"*.SF\" \\) -exec rm -f \\{\\} \\;"); + system("find META-INF \\( -name \"*.RSA\" \\) -exec rm -f \\{\\} \\;"); + system("find META-INF \\( -name \"*.DSA\" \\) -exec rm -f \\{\\} \\;"); system("jar cf $jarfile *"); }