From 97b8718f15b666cd1fb0e8a7f2afa690c5d70728 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Fri, 11 Oct 2002 11:34:28 +0000 Subject: There may be more than one single quote to fix. PR: 256 --- tools/c_rehash.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/c_rehash.in b/tools/c_rehash.in index 0c2d6b1f4c..c2e7d67f3b 100644 --- a/tools/c_rehash.in +++ b/tools/c_rehash.in @@ -100,7 +100,7 @@ sub check_file { sub link_hash_cert { my $fname = $_[0]; - $fname =~ s/'/'\\''/; + $fname =~ s/'/'\\''/g; my ($hash, $fprint) = `$openssl x509 -hash -fingerprint -noout -in '$fname'`; chomp $hash; chomp $fprint; -- cgit v1.2.3