Skip to content

Commit

Permalink
Bugfix: Prevent escaping of in else-if statement by setting variabl…
Browse files Browse the repository at this point in the history
…e without double quotes.

Signed-off-by: Mike Wilkinson <[email protected]>
  • Loading branch information
Mike Wilkinson committed Aug 31, 2022
1 parent 19d1a2b commit 1f30066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distribution/src/bin/opensearch-env.bat
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ if not "%OPENSEARCH_JAVA_HOME%" == "" (
set JAVA_TYPE=JAVA_HOME
) else (
set JAVA="%OPENSEARCH_HOME%\jdk\bin\java.exe"
set JAVA_HOME="%OPENSEARCH_HOME%\jdk"
set "JAVA_HOME=%OPENSEARCH_HOME%\jdk"
set JAVA_TYPE=bundled jdk
)

Expand Down

0 comments on commit 1f30066

Please sign in to comment.