summaryrefslogtreecommitdiff
path: root/Build/Configure.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-12-14 15:05:08 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-12-14 15:05:08 -0400
commitd6adaf499124c11e3d79252821ef400d2a87b155 (patch)
treeba5606368c854587245874ba704838a2e2c371ea /Build/Configure.hs
parenta9626cebd7ee5ebe3a38c64b37631ca20c7b2cff (diff)
quiet shell error message
Diffstat (limited to 'Build/Configure.hs')
-rw-r--r--Build/Configure.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/Configure.hs b/Build/Configure.hs
index d25445f40..4ac85811b 100644
--- a/Build/Configure.hs
+++ b/Build/Configure.hs
@@ -50,7 +50,7 @@ shaTestCases l = map make l
zip (shacmds n) (repeat check)
where
key = "sha" ++ show n
- check = "</dev/null | grep -q '" ++ knowngood ++ "'"
+ check = "</dev/null 2>/dev/null | grep -q '" ++ knowngood ++ "'"
shacmds n = concatMap (\x -> [x, 'g':x, osxpath </> x]) $
map (\x -> "sha" ++ show n ++ x) ["sum", ""]
{- Max OSX sometimes puts GNU tools outside PATH, so look in