summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess2014-03-30 19:13:26 -0400
committerJoey Hess2014-03-30 19:13:26 -0400
commit4ec7bd7619b2ca0ed13e49dd7263f81295c97af4 (patch)
tree45a63115a3cc0615585b8acb59062a01e53bb893
parent0f623044f485121e39a6389bb1511f9afb40cd20 (diff)
propellor spin
-rw-r--r--CmdLine.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/CmdLine.hs b/CmdLine.hs
index 6fc99c3c..7f5cd79d 100644
--- a/CmdLine.hs
+++ b/CmdLine.hs
@@ -62,8 +62,7 @@ spin host = do
bootstrap url = shellWrap $ intercalate " && "
[ intercalate " ; "
[ "if [ ! -d " ++ localdir ++ " ]"
- , "then"
- , intercalate " && "
+ , "then " ++ intercalate " && "
[ "apt-get -y install git"
, "git clone " ++ url ++ " " ++ localdir
]