diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2007-08-14T13·15+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2007-08-14T13·15+0000 |
commit | ffa1c61cd50a512685b44c55261c1539890482f4 (patch) | |
tree | f10b5485dd20872dc17b7b7e3be259a277dcbc6b | |
parent | a7e1a51fdf5d93b0a158a120595443fe9c7c6687 (diff) |
* Fix the tests.
-rw-r--r-- | scripts/nix-pull.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/nix-pull.in b/scripts/nix-pull.in index 378d9a363e98..333a1df87b59 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; } |