aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--switchtower/lib/switchtower/scm/darcs.rb2
-rw-r--r--switchtower/lib/switchtower/scm/subversion.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/switchtower/lib/switchtower/scm/darcs.rb b/switchtower/lib/switchtower/scm/darcs.rb
index 7879890b49..534a7336ad 100644
--- a/switchtower/lib/switchtower/scm/darcs.rb
+++ b/switchtower/lib/switchtower/scm/darcs.rb
@@ -40,7 +40,7 @@ module SwitchTower
command = <<-CMD
if [[ ! -d #{actor.release_path} ]]; then
- #{darcs} get #{configuration.repository} #{actor.release_path}
+ #{darcs} get #{configuration.repository} #{actor.release_path};
fi
CMD
actor.run(command)
diff --git a/switchtower/lib/switchtower/scm/subversion.rb b/switchtower/lib/switchtower/scm/subversion.rb
index 533f482622..79cb6aef8f 100644
--- a/switchtower/lib/switchtower/scm/subversion.rb
+++ b/switchtower/lib/switchtower/scm/subversion.rb
@@ -47,9 +47,9 @@ module SwitchTower
command = <<-CMD
if [[ -d #{actor.release_path} ]]; then
- #{svn} up -q -r#{latest_revision} #{actor.release_path}
+ #{svn} up -q -r#{latest_revision} #{actor.release_path};
else
- #{svn} co -q -r#{latest_revision} #{configuration.repository} #{actor.release_path}
+ #{svn} co -q -r#{latest_revision} #{configuration.repository} #{actor.release_path};
fi
CMD
actor.run(command) do |ch, stream, out|