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.
This commit is contained in:
parent
b0735d098d
commit
59fead6da3
4 changed files with 24 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue