summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rakefile b/Rakefile
index 09c8d5e131..2500c93ea0 100644
--- a/Rakefile
+++ b/Rakefile
@@ -97,8 +97,8 @@ task :update_chef_exec_dll do
sh("hab pkg install chef/chef-powershell-shim")
sh("hab pkg install chef/chef-powershell-shim-x86")
- x64 = `hab pkg path chef/chef-powershell-shim`.chomp.gsub(/\\/, "/")
- x86 = `hab pkg path chef/chef-powershell-shim-x86`.chomp.gsub(/\\/, "/")
+ x64 = `hab pkg path chef/chef-powershell-shim`.chomp.tr('\\', "/")
+ x86 = `hab pkg path chef/chef-powershell-shim-x86`.chomp.tr('\\', "/")
FileUtils.rm_rf(Dir["distro/ruby_bin_folder/AMD64/*"])
FileUtils.rm_rf(Dir["distro/ruby_bin_folder/x86/*"])
puts "Copying #{x64}/bin/* to distro/ruby_bin_folder/AMD64"