knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmin...@apache.org
Subject git commit: KNOX-389: Knoxcli.cmd fails when space in JAVA_HOME
Date Thu, 29 May 2014 20:43:24 GMT
Repository: knox
Updated Branches:
  refs/heads/master a1ad390d5 -> d7badf47b


KNOX-389: Knoxcli.cmd fails when space in JAVA_HOME


Project: http://git-wip-us.apache.org/repos/asf/knox/repo
Commit: http://git-wip-us.apache.org/repos/asf/knox/commit/d7badf47
Tree: http://git-wip-us.apache.org/repos/asf/knox/tree/d7badf47
Diff: http://git-wip-us.apache.org/repos/asf/knox/diff/d7badf47

Branch: refs/heads/master
Commit: d7badf47b131df0548b0664163820c208627d4de
Parents: a1ad390
Author: Kevin Minder <kevin.minder@hortonworks.com>
Authored: Thu May 29 16:42:15 2014 -0400
Committer: Kevin Minder <kevin.minder@hortonworks.com>
Committed: Thu May 29 16:42:15 2014 -0400

----------------------------------------------------------------------
 gateway-release/home/bin/knoxcli.cmd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/knox/blob/d7badf47/gateway-release/home/bin/knoxcli.cmd
----------------------------------------------------------------------
diff --git a/gateway-release/home/bin/knoxcli.cmd b/gateway-release/home/bin/knoxcli.cmd
index 2e665a2..6283806 100644
--- a/gateway-release/home/bin/knoxcli.cmd
+++ b/gateway-release/home/bin/knoxcli.cmd
@@ -24,7 +24,7 @@ if not exist "%JAVA_HOME%"\bin\java.exe (
   echo Error: JAVA_HOME is incorrectly set.
   exit /B 1
 )
-set JAVA="%JAVA_HOME%"\bin\java
+set JAVA=%JAVA_HOME%\bin\java
 
 "%JAVA%" -jar "%APP_JAR%" %*
 


Mime
View raw message