Skip to content
This repository was archived by the owner on Feb 18, 2020. It is now read-only.

Commit 0e2f904

Browse files
authored
Merge pull request #97 from watsonlu/fixslashes
Fix slashes being passed in incorrectly when work_dir is specified
2 parents 0350c29 + b5fab06 commit 0e2f904

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recipes/server_windows_install.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
opts = []
99
opts << '/S'
10-
opts << "/D=#{node['gocd']['server']['work_dir']}"
10+
opts << "/D='#{node['gocd']['server']['work_dir'].gsub('/', '\\')}'"
1111

1212
if defined?(Chef::Provider::Package::Windows)
1313
package 'Go Server' do

0 commit comments

Comments
 (0)