diff options
| author | Joey Hess <joeyh@joeyh.name> | 2015-04-02 10:25:35 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2015-04-02 10:25:35 -0400 |
| commit | 1413e9c61970532b846893ca6435f2a2785a1b02 (patch) | |
| tree | f98f82feb8b7366e8cdaba8a6a08184b719c1b0b /src/Propellor/Bootstrap.hs | |
| parent | fd866242f033ee0a10a266b4707290e8976da560 (diff) | |
/dev/null any error from propellor --check
This includes "unknown option" from old versions of propellor..
Diffstat (limited to 'src/Propellor/Bootstrap.hs')
| -rw-r--r-- | src/Propellor/Bootstrap.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Bootstrap.hs b/src/Propellor/Bootstrap.hs index b0b4e58a..a07347ed 100644 --- a/src/Propellor/Bootstrap.hs +++ b/src/Propellor/Bootstrap.hs @@ -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" |
