Fix permissions of Updater binary under Ruby 1.9.x

When create-packages.rb was run under ruby 1.9.x the Updater
binary in the output dir lost its executable permissions.

This is the same issue and fix as previously applied in
0472a4e991
This commit is contained in:
Robert Knight 2013-09-20 14:54:09 +01:00
parent 5d2ce7e8c3
commit 373caf74a7

View file

@ -385,7 +385,7 @@ if !updater_binary_input_path
exit(1)
end
FileUtils.cp(updater_binary_input_path,"#{output_dir}/#{File.basename(updater_binary_input_path)}")
FileUtils.cp updater_binary_input_path, "#{output_dir}/#{File.basename(updater_binary_input_path)}", :preserve => true
# output the file_list.xml file
update_script = UpdateScriptGenerator.new(target_version,target_platform,input_dir,