aboutsummaryrefslogtreecommitdiff
path: root/perl/lib/Nix/Manifest.pm
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-07-31 10:21:40 +0200
committerEelco Dolstra <edolstra@gmail.com>2017-07-31 10:21:40 +0200
commit561e977f51c1d9ec55e4a70791958d4e214df465 (patch)
tree65a667fbc746f4ff8efcaca3c0a58565985f26a5 /perl/lib/Nix/Manifest.pm
parentc7654bc491d9ce7c1fbadecd7769418fa79a2060 (diff)
parent2fd8f8bb99a2832b3684878c020ba47322e79332 (diff)
Merge branch 'quotes' of https://github.com/Mic92/nix-1
Diffstat (limited to 'perl/lib/Nix/Manifest.pm')
-rw-r--r--perl/lib/Nix/Manifest.pm12
1 files changed, 6 insertions, 6 deletions
diff --git a/perl/lib/Nix/Manifest.pm b/perl/lib/Nix/Manifest.pm
index 0da376761..6438398e1 100644
--- a/perl/lib/Nix/Manifest.pm
+++ b/perl/lib/Nix/Manifest.pm
@@ -60,10 +60,10 @@ sub readManifest_ {
# Decompress the manifest if necessary.
if ($manifest =~ /\.bz2$/) {
open MANIFEST, "$Nix::Config::bzip2 -d < $manifest |"
- or die "cannot decompress ‘$manifest’: $!";
+ or die "cannot decompress '$manifest': $!";
} else {
open MANIFEST, "<$manifest"
- or die "cannot open ‘$manifest’: $!";
+ or die "cannot open '$manifest': $!";
}
my $inside = 0;
@@ -287,7 +287,7 @@ sub parseNARInfo {
# FIXME: might be useful to support multiple signatures per .narinfo.
if (!defined $sig) {
- warn "NAR info file ‘$location’ lacks a signature; ignoring\n";
+ warn "NAR info file '$location' lacks a signature; ignoring\n";
return undef;
}
my ($keyName, $sig64) = split ":", $sig;
@@ -295,7 +295,7 @@ sub parseNARInfo {
my $publicKey = $Nix::Config::binaryCachePublicKeys{$keyName};
if (!defined $publicKey) {
- warn "NAR info file ‘$location’ is signed by unknown key ‘$keyName’; ignoring\n";
+ warn "NAR info file '$location' is signed by unknown key '$keyName'; ignoring\n";
return undef;
}
@@ -306,12 +306,12 @@ sub parseNARInfo {
[ map { "$Nix::Config::storeDir/$_" } @refs ]);
};
if ($@) {
- warn "cannot compute fingerprint of ‘$location’; ignoring\n";
+ warn "cannot compute fingerprint of '$location'; ignoring\n";
return undef;
}
if (!checkSignature($publicKey, decode_base64($sig64), $fingerprint)) {
- warn "NAR info file ‘$location’ has an incorrect signature; ignoring\n";
+ warn "NAR info file '$location' has an incorrect signature; ignoring\n";
return undef;
}