From e12f3dba5690f5d3978cf11cf304682ec35e50c7 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 7 Mar 2016 16:49:26 -0400 Subject: fix checkBinaryCommand The freebsd branch made it run ./propellor --check after verifying that command fails, which is clearly wrong. --- src/Propellor/Bootstrap.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/Propellor') 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 ] -- cgit v1.2.3