summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Propellor/CmdLine.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Propellor/CmdLine.hs b/Propellor/CmdLine.hs
index 8968d278..fa1d3826 100644
--- a/Propellor/CmdLine.hs
+++ b/Propellor/CmdLine.hs
@@ -149,7 +149,7 @@ spin host = do
]
, "else " ++ intercalate " && "
[ "cd " ++ localdir
- , "if [ ! -x ./propellor ]; then make build; fi"
+ , "if ! test -x ./propellor; then make build; fi"
, "./propellor --boot " ++ host
]
]