* Fix the tests.

This commit is contained in:
Eelco Dolstra 2007-08-14 13:15:59 +00:00
parent a7e1a51fdf
commit ffa1c61cd5

View file

@ -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;
}