X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=utils%2Fjarunsigner.pl;h=283aed238c1e26bf5028cf642a09fcca5f3ecdc3;hb=d406dae9bb29125d7a7017e4eb6e2e45ba47135b;hp=f18f94cf5d1f192e40a7ea885c38185473f27c2b;hpb=d9ec8d11987c70affbbb863076993a6adfd3467b;p=jalview.git diff --git a/utils/jarunsigner.pl b/utils/jarunsigner.pl index f18f94c..283aed2 100755 --- a/utils/jarunsigner.pl +++ b/utils/jarunsigner.pl @@ -24,8 +24,8 @@ 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 \\{\\} \\;"); + system("find META-INF \\( -name \"*.RSA\" \\) -exec rm \\{\\} \\;"); system("jar cf $jarfile *"); }