From 6500981d608a046305898fefdcebf293553468ae Mon Sep 17 00:00:00 2001 From: Jamis Buck Date: Fri, 12 Aug 2005 20:32:23 +0000 Subject: Preserve +x on scripts when using darcs #1929 [Scott Barron] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1996 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- switchtower/lib/switchtower/scm/darcs.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'switchtower/lib') 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) -- cgit v1.2.3