about summary refs log tree commit diff
path: root/scripts/nix-install-package.in
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-20T15·00+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-20T16·03+0200
commit11849a320e4f522b97fcdf09ff0940496880475b (patch)
tree13548f1c1bb2e01590b31d66d9bb8f46534bc99f /scripts/nix-install-package.in
parent373fad75e19a2f24db512621b8cedb627d03d49d (diff)
Use proper quotes everywhere
Diffstat (limited to 'scripts/nix-install-package.in')
-rwxr-xr-xscripts/nix-install-package.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/nix-install-package.in b/scripts/nix-install-package.in
index a3187c72169b..9340f1b729e6 100755
--- a/scripts/nix-install-package.in
+++ b/scripts/nix-install-package.in
@@ -23,7 +23,7 @@ while (scalar @args) {
     }
     elsif ($arg eq "--profile" || $arg eq "-p") {
         my $profile = shift @args;
-        die "$0: `--profile' requires an argument\n" if !defined $profile;
+        die "$0: ‘--profile’ requires an argument\n" if !defined $profile;
         push @extraNixEnvArgs, "-p", $profile;
     }
     elsif ($arg eq "--non-interactive") {
@@ -45,7 +45,7 @@ if ($interactive && !defined $ENV{"NIX_HAVE_TERMINAL"}) {
     foreach my $term ("xterm", "konsole", "gnome-terminal", "xterm") {
         exec($term, "-e", "$Nix::Config::binDir/nix-install-package", @ARGV);
     }
-    die "cannot execute `xterm'";
+    die "cannot execute ‘xterm’";
 }
 
 
@@ -70,7 +70,7 @@ if ($fromURL) {
 
 
 # Read and parse the package file.
-open PKGFILE, "<$pkgFile" or barf "cannot open `$pkgFile': $!";
+open PKGFILE, "<$pkgFile" or barf "cannot open ‘$pkgFile’: $!";
 my $contents = <PKGFILE>;
 close PKGFILE;
 
@@ -92,12 +92,12 @@ my $drvPath = $5;
 my $outPath = $6;
 my $binaryCacheURL = $8;
 
-barf "invalid package version `$version'" unless $version eq "NIXPKG1";
+barf "invalid package version ‘$version’" unless $version eq "NIXPKG1";
 
 
 if ($interactive) {
     # Ask confirmation.
-    print "Do you want to install `$drvName' (Y/N)? ";
+    print "Do you want to install ‘$drvName’ (Y/N)? ";
     my $reply = <STDIN>;
     chomp $reply;
     exit if $reply ne "y" && $reply ne "Y";