Repository: knox Updated Branches: refs/heads/v0.4.0 dd16eb480 -> 6475828f0
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/6475828f Tree: http://git-wip-us.apache.org/repos/asf/knox/tree/6475828f Diff: http://git-wip-us.apache.org/repos/asf/knox/diff/6475828f Branch: refs/heads/v0.4.0 Commit: 6475828f09ccfe2357bd5486f886f5c217538ffc Parents: dd16eb4 Author: Kevin Minder <[email protected]> Authored: Fri Mar 14 14:27:23 2014 -0400 Committer: Kevin Minder <[email protected]> Committed: Fri Mar 14 14:29:02 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/6475828f/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
