Skip to content

Commit 4c980d4

Browse files
Update mk-ca-bundle.pl script
1 parent d243d7c commit 4c980d4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

maint/mk-ca-bundle.pl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ sub oldhash {
268268
return $hash;
269269
}
270270

271-
if( $opt_p !~ m/:/ ) {
271+
if($opt_p !~ m/:/) {
272272
print "Error: Mozilla trust identifier list must include both purposes and levels\n";
273273
HELP_MESSAGE();
274274
}
@@ -285,7 +285,7 @@ (%)
285285
foreach my $level (@included_mozilla_trust_levels) {
286286
# for each level we want to output, see if any of our desired purposes are
287287
# included
288-
return 1 if( defined( List::Util::first { is_in_list( $_, @included_mozilla_trust_purposes ) } @{$trust_purposes_by_level{$level}} ) );
288+
return 1 if(defined( List::Util::first { is_in_list( $_, @included_mozilla_trust_purposes ) } @{$trust_purposes_by_level{$level}} ));
289289
}
290290

291291
return 0;
@@ -656,8 +656,8 @@ (%)
656656
$bk++;
657657
}
658658
rename $crt, "$crt.~${bk}~" or die "Failed to create backup $crt.~$bk}~: $!\n";
659-
} elsif( -e $crt ) {
660-
unlink( $crt ) or die "Failed to remove $crt: $!\n";
659+
} elsif(-e $crt) {
660+
unlink($crt) or die "Failed to remove $crt: $!\n";
661661
}
662662
rename "$crt.~", $crt or die "Failed to rename $crt.~ to $crt: $!\n";
663663
}

0 commit comments

Comments
 (0)