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