Skip to content

Commit

Permalink
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion recipes/windows.rb
Original file line number Diff line number Diff line change
@@ -52,7 +52,9 @@

if node['java'].attribute?("java_home")
java_home_win = win_friendly_path(node['java']['java_home'])
additional_options = "INSTALLDIR=\"#{java_home_win}\""
# The EXE installer expects escaped quotes, so we need to double escape
# them here.
additional_options = "INSTALLDIR=\\\"#{java_home_win}\\\""

env "JAVA_HOME" do
value java_home_win

0 comments on commit 0932484

Please sign in to comment.