We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8af9f99 + be809cd commit d4e0660Copy full SHA for d4e0660
1 file changed
Rakefile
@@ -36,7 +36,7 @@ namespace :gem do
36
origin_license_file = 'LICENSE'
37
new_license_file = 'LICENSE_FOR_RUBY_SDK_COMPONENT.txt'
38
File.delete(origin_license_file) if File.exist?(origin_license_file)
39
- File.cp(new_license_file, origin_license_file) if File.exists?(new_license_file)
+ FileUtils.cp(new_license_file, origin_license_file) if File.exists?(new_license_file)
40
puts "Copied file #{new_license_file} to #{origin_license_file}"
41
puts "Building #{gem} ..."
42
res = `gem build ./gooddata.gemspec`
0 commit comments