Permalink
Browse files

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
  • Loading branch information...
1 parent cc0105c commit 6500981d608a046305898fefdcebf293553468ae @jamis jamis committed Aug 12, 2005
Showing with 3 additions and 1 deletion.
  1. +2 −0 switchtower/CHANGELOG
  2. +1 −1 switchtower/lib/switchtower/scm/darcs.rb
View
@@ -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 @@ def checkout(actor)
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)

0 comments on commit 6500981

Please sign in to comment.