Skip to content

Commit

Permalink
An attempt to fix "Permission denied" error in Ruby build
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed Sep 19, 2019
1 parent 6140d71 commit 8a06a59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rake-tasks/crazy_fun/mappings/ruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def copy_sources(dir, globs)
Dir[File.join(dir, glob)].each do |file|
destination = destination_for(file)
mkdir_p File.dirname(destination)
cp file, destination
cp_r file, destination, remove_destination: true
end
end
end
Expand Down

0 comments on commit 8a06a59

Please sign in to comment.