X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=utils%2Fjarunsigner.pl;h=a10fa91f6f226857107b957570d1f18a6f6fa627;hb=7384a101e11711490956c31fcff4efb556d21c69;hp=283aed238c1e26bf5028cf642a09fcca5f3ecdc3;hpb=1156f593e261b3c082e56d783c756aefb08d4d0b;p=jalview.git diff --git a/utils/jarunsigner.pl b/utils/jarunsigner.pl index 283aed2..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("find META-INF \\( -name \"*.SF\" \\) -exec rm \\{\\} \\;"); - system("find META-INF \\( -name \"*.RSA\" \\) -exec rm \\{\\} \\;"); + 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 *"); }