summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-06-18 16:17:57 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-06-18 16:17:57 -0400
commit53129d6ef41acc6ef7d5c5cddd503e194c4f8ef5 (patch)
tree9781eef8e2a19ea4143f6eab9415519d5cd143be
parent61a9116ef12aeb2bab13d1c693d71277b7422467 (diff)
silence curl
-rw-r--r--Build/DistributionUpdate.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/DistributionUpdate.hs b/Build/DistributionUpdate.hs
index c0de4cd58..25123edb5 100644
--- a/Build/DistributionUpdate.hs
+++ b/Build/DistributionUpdate.hs
@@ -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 == '-'