summaryrefslogtreecommitdiff
path: root/src/Propellor/Bootstrap.hs
diff options
context:
space:
mode:
authorJoey Hess2016-03-07 16:49:26 -0400
committerJoey Hess2016-03-07 16:49:26 -0400
commite12f3dba5690f5d3978cf11cf304682ec35e50c7 (patch)
tree2327396ea36fda2303f6d075873f797ba1cf70ef /src/Propellor/Bootstrap.hs
parent882d72fc6eb48a66667a3b22b82aedd5544bf68a (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/Bootstrap.hs')
-rw-r--r--src/Propellor/Bootstrap.hs3
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
]