Repository: knox Updated Branches: refs/heads/master 1cff9e359 -> be8bd5e0e
KNOX-308: Windows .cmd scripts not passing parameters to java correctly. Project: http://git-wip-us.apache.org/repos/asf/knox/repo Commit: http://git-wip-us.apache.org/repos/asf/knox/commit/be8bd5e0 Tree: http://git-wip-us.apache.org/repos/asf/knox/tree/be8bd5e0 Diff: http://git-wip-us.apache.org/repos/asf/knox/diff/be8bd5e0 Branch: refs/heads/master Commit: be8bd5e0ea0e15a95116a84945d73081bf843f4e Parents: 1cff9e3 Author: Kevin Minder <[email protected]> Authored: Fri Mar 14 14:27:23 2014 -0400 Committer: Kevin Minder <[email protected]> Committed: Fri Mar 14 14:27:23 2014 -0400 ---------------------------------------------------------------------- gateway-release/home/bin/knoxcli.cmd | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/knox/blob/be8bd5e0/gateway-release/home/bin/knoxcli.cmd ---------------------------------------------------------------------- diff --git a/gateway-release/home/bin/knoxcli.cmd b/gateway-release/home/bin/knoxcli.cmd index f384b7f..7fa9f50 100644 --- a/gateway-release/home/bin/knoxcli.cmd +++ b/gateway-release/home/bin/knoxcli.cmd @@ -1,4 +1,3 @@ - @ECHO OFF REM Licensed to the Apache Software Foundation (ASF) under one or more REM contributor license agreements. See the NOTICE file distributed with @@ -53,7 +52,7 @@ SET APP_ERR_FILE=%APP_LOG_DIR%\%APP_NAME%.err : main ECHO "Starting %APP_LABEL% " - java %APP_MEM_OPTS% %APP_DBG_OPT% %APP_LOG_OPTS% -jar "%APP_JAR%" %~1 + java %APP_MEM_OPTS% %APP_DBG_OPT% %APP_LOG_OPTS% -jar "%APP_JAR%" %* IF NOT %ERRORLEVEL% ==0 ( Exit /B 1
