1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 01:51:47 +02:00

* Show errors in nix-prefetch-url.

This commit is contained in:
Eelco Dolstra 2007-08-15 09:24:06 +00:00
parent 5c793ad03e
commit dbc0170ed9
3 changed files with 5 additions and 4 deletions

View file

@ -265,7 +265,7 @@ print STDERR "uploading manifest...\n";
if ($localCopy) {
copyFile $manifest, $localManifestFile;
} else {
system("$curl --show-error --upload-file " .
system("$curl --show-error --upload-file " .
"'$manifest' '$manifestPutURL' > /dev/null") == 0 or
die "curl failed on $manifest: $?";
}