Skip to content

Commit

Permalink
ensure file permissions are correct for execution of script/ tasks af…
Browse files Browse the repository at this point in the history
…ter copying them.
  • Loading branch information
parndt committed Jun 17, 2010
1 parent 4c87631 commit 4046c7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vendor/plugins/refinery/lib/tasks/refinery.rake
Expand Up @@ -140,6 +140,7 @@ namespace :refinery do

# update the script directory for any fixes that have happened.
FileUtils::cp_r Dir[Refinery.root.join('script', '*').to_s], Rails.root.join('script').to_s
FileUtils::chmod_R 0755, Rails.root.join('script').to_s

# add the cucumber environment file if it's not present
unless (cucumber_environment_file = Rails.root.join('config', 'environments', 'cucumber.rb')).exist?
Expand Down

0 comments on commit 4046c7d

Please sign in to comment.