quiet shell error message

This commit is contained in:
Joey Hess 2012-12-14 15:05:08 -04:00
parent 1b21e915dd
commit 1a10f109c1

View file

@ -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