From 82c0fb39214308de6eb4f9baadff53f107d07cac Mon Sep 17 00:00:00 2001 From: jprocter Date: Fri, 26 Sep 2008 15:27:20 +0000 Subject: [PATCH] added .DSA files to list of jar signatures to be removed (thanks to Mark McDowall for this!) --- utils/jarunsigner.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 *"); } -- 1.7.10.2