propellor spin

This commit is contained in:
Joey Hess 2014-11-22 16:14:20 -04:00
parent 7ed9f70504
commit cb94e7484e
Failed to extract signature
1 changed files with 4 additions and 2 deletions

View File

@ -166,8 +166,10 @@ spin target relay hst = do
void $ actionMessage "Push to central git repository" $ void $ actionMessage "Push to central git repository" $
boolSystem "git" [Param "push"] boolSystem "git" [Param "push"]
cacheparams <- if relaying || viarelay cacheparams <- if relaying
then pure [] then pure []
else if viarelay
then pure ["-A"]
else toCommand <$> sshCachingParams hn viarelay else toCommand <$> sshCachingParams hn viarelay
when viarelay $ when viarelay $
void $ boolSystem "ssh-add" [] void $ boolSystem "ssh-add" []