/dev/null any error from propellor --check
This includes "unknown option" from old versions of propellor..
This commit is contained in:
parent
fd866242f0
commit
1413e9c619
|
@ -27,7 +27,7 @@ bootstrapPropellorCommand = "if ! test -x ./propellor; then " ++ go ++ "; fi;" +
|
||||||
-- Use propellor --check to detect if the local propellor binary has
|
-- Use propellor --check to detect if the local propellor binary has
|
||||||
-- stopped working (eg due to library changes), and must be rebuilt.
|
-- stopped working (eg due to library changes), and must be rebuilt.
|
||||||
checkBinaryCommand :: ShellCommand
|
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
|
where
|
||||||
go = intercalate " && "
|
go = intercalate " && "
|
||||||
[ "cabal clean"
|
[ "cabal clean"
|
||||||
|
|
Loading…
Reference in New Issue