silence curl
This commit is contained in:
parent
90933360de
commit
4797db5c8f
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ getbuild repodir (url, f) = do
|
|||
where
|
||||
getbv = do
|
||||
bv <- catchDefaultIO "" $
|
||||
readProcess "curl" [takeDirectory url ++ "build-version"]
|
||||
readProcess "curl" ["--silent", takeDirectory url ++ "build-version"]
|
||||
return $ if null bv || any (not . versionchar) bv then Nothing else Just bv
|
||||
versionchar c = isAlphaNum c || c == '.' || c == '-'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue