aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2007-01-11 19:28:28 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2007-01-11 19:28:28 +0000
commit1b7840b949f038d44f31492bd59e0e189e17ef9c (patch)
tree85cbe7d6654c5fd88080160565113f747cc04480 /scripts
parent69c8b5b8a7165e1b9468c2b98a56b0e5af092a69 (diff)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/nix-prefetch-url.in3
1 files changed, 2 insertions, 1 deletions
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)