avoid unnessary newlines before progress in quiet mode
This commit is contained in:
parent
d92f186fc4
commit
7c0777c60d
3 changed files with 6 additions and 3 deletions
|
@ -41,7 +41,7 @@ dummyOk url = return True
|
|||
downloadUrl :: Key -> FilePath -> Annex Bool
|
||||
downloadUrl key file = do
|
||||
showNote "downloading"
|
||||
liftIO $ putStrLn "" -- make way for curl progress bar
|
||||
showProgress -- make way for curl progress bar
|
||||
liftIO $ boolSystem "curl" ["-#", "-o", file, url]
|
||||
where
|
||||
url = join ":" $ drop 1 $ split ":" $ show key
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue