From 1b7840b949f038d44f31492bd59e0e189e17ef9c Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 11 Jan 2007 19:28:28 +0000 Subject: [PATCH] --- scripts/nix-prefetch-url.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/nix-prefetch-url.in b/scripts/nix-prefetch-url.in index c78ee184c..4c18899da 100644 --- a/scripts/nix-prefetch-url.in +++ b/scripts/nix-prefetch-url.in @@ -48,7 +48,8 @@ if test -z "$finalPath"; then mkdir $tmpPath # Perform the download. - @curl@ --fail --location --max-redirs 20 --disable-epsv --cookie-jar $tmpPath/cookies "$url" > $tmpFile + @curl@ --fail --location --max-redirs 20 --disable-epsv \ + --cookie-jar $tmpPath/cookies "$url" > $tmpFile # Compute the hash. hash=$(@bindir@/nix-hash --type "$hashType" $hashFormat --flat $tmpFile)