mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Preserve +x on scripts when using darcs #1929 [Scott Barron]
git-svn-id: http://svn.rubyonrails.org/rails/trunk/switchtower@1996 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
90f7a4f1b5
commit
a13c2cc2a3
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue