/dev/null any error from propellor --check

This includes "unknown option" from old versions of propellor..
This commit is contained in:
Joey Hess 2015-04-02 10:25:35 -04:00
parent fd866242f0
commit 1413e9c619
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ bootstrapPropellorCommand = "if ! test -x ./propellor; then " ++ go ++ "; fi;" +
-- Use propellor --check to detect if the local propellor binary has
-- stopped working (eg due to library changes), and must be rebuilt.
checkBinaryCommand :: ShellCommand
checkBinaryCommand = "if test -x ./propellor && ! ./propellor --check; then " ++ go ++ "; fi"
checkBinaryCommand = "if test -x ./propellor && ! ./propellor --check 2>/dev/null; then " ++ go ++ "; fi"
where
go = intercalate " && "
[ "cabal clean"