Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 6500981d608a046305898fefdcebf293553468ae 1 parent cc0105c
@jamis jamis authored
View
2  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
View
2  switchtower/lib/switchtower/scm/darcs.rb
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.