propellor spin

This commit is contained in:
Joey Hess 2014-03-31 16:50:30 -04:00
parent d9aac0a4c0
commit b5b9fa922b
Failed to extract signature
1 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,7 @@ pullFirst cmdline next = do
newsha <- getCurrentGitSha1 branchref newsha <- getCurrentGitSha1 branchref
if oldsha == newsha if oldsha == newsha
then error "unchanged" then next
else do else do
putStrLn "Rebuilding propeller.." putStrLn "Rebuilding propeller.."
hFlush stdout hFlush stdout
@ -150,7 +150,7 @@ spin host = do
] ]
, "else " ++ intercalate " && " , "else " ++ intercalate " && "
[ "cd " ++ localdir [ "cd " ++ localdir
, "if ! test -x ./propellor; then make build; fi" --, "if ! test -x ./propellor; then make build; fi"
, "./propellor --boot " ++ host , "./propellor --boot " ++ host
] ]
] ]