added .DSA files to list of jar signatures to be removed (thanks to Mark McDowall...
authorjprocter <Jim Procter>
Fri, 26 Sep 2008 15:27:20 +0000 (15:27 +0000)
committerjprocter <Jim Procter>
Fri, 26 Sep 2008 15:27:20 +0000 (15:27 +0000)
utils/jarunsigner.pl

index 283aed2..a10fa91 100755 (executable)
@@ -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 *");
 }