Skip to content

Commit be809cd

Browse files
author
Sang Truong
committed
DC-1701: Fix build jruby gem error
1 parent 0fc37d4 commit be809cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ namespace :gem do
3636
origin_license_file = 'LICENSE'
3737
new_license_file = 'LICENSE_FOR_RUBY_SDK_COMPONENT.txt'
3838
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)
39+
FileUtils.cp(new_license_file, origin_license_file) if File.exists?(new_license_file)
4040
puts "Copied file #{new_license_file} to #{origin_license_file}"
4141
puts "Building #{gem} ..."
4242
res = `gem build ./gooddata.gemspec`

0 commit comments

Comments
 (0)