diff options
Diffstat (limited to 'switchtower')
-rw-r--r-- | switchtower/CHANGELOG | 2 | ||||
-rw-r--r-- | switchtower/lib/switchtower/scm/darcs.rb | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/switchtower/CHANGELOG b/switchtower/CHANGELOG index e8681cfaeb..5447b07e07 100644 --- a/switchtower/CHANGELOG +++ b/switchtower/CHANGELOG @@ -1,3 +1,5 @@ *SVN* +* Preserve +x on scripts when using darcs #1929 [Scott Barron] + * When executing multiline commands, use a backslash to escape the newline diff --git a/switchtower/lib/switchtower/scm/darcs.rb b/switchtower/lib/switchtower/scm/darcs.rb index 534a7336ad..93735446ed 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 --set-scripts-executable #{configuration.repository} #{actor.release_path}; fi CMD actor.run(command) |