diff options
| author | Joey Hess <joeyh@joeyh.name> | 2016-03-07 16:49:26 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2016-03-07 16:49:26 -0400 |
| commit | e12f3dba5690f5d3978cf11cf304682ec35e50c7 (patch) | |
| tree | 2327396ea36fda2303f6d075873f797ba1cf70ef /src/Propellor | |
| parent | 882d72fc6eb48a66667a3b22b82aedd5544bf68a (diff) | |
fix checkBinaryCommand
The freebsd branch made it run ./propellor --check after verifying
that command fails, which is clearly wrong.
Diffstat (limited to 'src/Propellor')
| -rw-r--r-- | src/Propellor/Bootstrap.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Propellor/Bootstrap.hs b/src/Propellor/Bootstrap.hs index f97fedab..911182cc 100644 --- a/src/Propellor/Bootstrap.hs +++ b/src/Propellor/Bootstrap.hs @@ -27,8 +27,7 @@ checkBinaryCommand :: ShellCommand checkBinaryCommand = "if test -x ./propellor && ! ./propellor --check; then " ++ go ++ "; fi" where go = intercalate " && " - [ "./propellor --check" - ,"cabal clean" + [ "cabal clean" , buildCommand ] |
