From da2428a9f9c15cdff2a09d76a66dd3fb6b386fe3 Mon Sep 17 00:00:00 2001 From: heavyrain2012 Date: Fri, 13 Sep 2019 23:09:29 +0800 Subject: [PATCH] modify windows bash error --- distribution/src/main/scripts/wildfirechat.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distribution/src/main/scripts/wildfirechat.bat b/distribution/src/main/scripts/wildfirechat.bat index bedb28bdd..0c17b5820 100644 --- a/distribution/src/main/scripts/wildfirechat.bat +++ b/distribution/src/main/scripts/wildfirechat.bat @@ -17,9 +17,9 @@ goto end rem Set JavaHome if it exists if exist { "%JAVA_HOME%\bin\java" } ( set "JAVA="%JAVA_HOME%\bin\java"" -) else { +) else ( set "JAVA="java"" -} +) echo Using JAVA_HOME: "%JAVA_HOME%" echo Using WILDFIRECHAT_HOME: "%WILDFIRECHAT_HOME%"