summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2007-08-14 13:15:59 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2007-08-14 13:15:59 +0000
commitffa1c61cd50a512685b44c55261c1539890482f4 (patch)
treef10b5485dd20872dc17b7b7e3be259a277dcbc6b
parenta7e1a51fdf5d93b0a158a120595443fe9c7c6687 (diff)
downloadguix-ffa1c61cd50a512685b44c55261c1539890482f4.tar.gz
* Fix the tests.
-rw-r--r--scripts/nix-pull.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/nix-pull.in b/scripts/nix-pull.in
index 378d9a363e..333a1df87b 100644
--- a/scripts/nix-pull.in
+++ b/scripts/nix-pull.in
@@ -35,8 +35,9 @@ sub downloadFile {
     my $url = shift;
     $ENV{"PRINT_PATH"} = 1;
     $ENV{"QUIET"} = 1;
-    my ($dummy, $path) = `@bindir@/nix-prefetch-url '$url'`;
+    my ($dummy, $path) = `$binDir/nix-prefetch-url '$url'`;
     chomp $path;
+    die "nix-prefetch-url did not return a path" unless defined $path;
     return $path;
 }