From: jprocter Date: Fri, 26 Sep 2008 15:27:20 +0000 (+0000) Subject: added .DSA files to list of jar signatures to be removed (thanks to Mark McDowall... X-Git-Tag: Release_2_5~438 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=82c0fb39214308de6eb4f9baadff53f107d07cac;p=jalview.git added .DSA files to list of jar signatures to be removed (thanks to Mark McDowall for this!) --- 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 *"); }