summaryrefslogtreecommitdiff
path: root/Utility/Url.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-12-13 11:56:23 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-12-13 11:56:23 -0400
commitab2ab8d94794e3404ea16e0381eb976ccce4103d (patch)
treecde0a5f3e0bf8cff73f5f763ee18cae9b4639429 /Utility/Url.hs
parent56a1fe7a5b59794cb1819e0d36c933a1286b17c2 (diff)
Pass annex.web-options to wget and curl after other options, so that eg --no-show-progress can be set by the user to disable the default --show-progress.
Diffstat (limited to 'Utility/Url.hs')
-rw-r--r--Utility/Url.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utility/Url.hs b/Utility/Url.hs
index d0e1b3739..a4523d73f 100644
--- a/Utility/Url.hs
+++ b/Utility/Url.hs
@@ -303,7 +303,7 @@ download' quiet url file uo = do
- it was asked to write to a file elsewhere. -}
go cmd opts = withTmpDir "downloadurl" $ \tmp -> do
absfile <- absPath file
- let ps = addUserAgent uo $ reqParams uo++opts++[File absfile, File url]
+ let ps = addUserAgent uo $ opts++reqParams uo++[File absfile, File url]
boolSystem' cmd ps $ \p -> p { cwd = Just tmp }
quietopt s