NIFI-3092 This closes #1268. Double quoting java invocation in bat files with %*

This commit is contained in:
Bryan Rosander 2016-11-23 12:05:27 -05:00 committed by joewitt
parent 7ff14f7191
commit cdb9b81f42
4 changed files with 4 additions and 4 deletions

View File

@ -35,6 +35,6 @@ set LIB_DIR=%~dp0..\classpath;%~dp0..\lib
SET JAVA_PARAMS=-cp %LIB_DIR%\* -Xms128m -Xmx256m org.apache.nifi.properties.ConfigEncryptionTool
cmd.exe /C "%JAVA_EXE%" %JAVA_PARAMS% %*
cmd.exe /C ""%JAVA_EXE%" %JAVA_PARAMS% %* ""
popd

View File

@ -35,6 +35,6 @@ set LIB_DIR=%~dp0..\classpath;%~dp0..\lib
SET JAVA_PARAMS=-cp %LIB_DIR%\* -Xms128m -Xmx256m %JAVA_ARGS% org.apache.nifi.toolkit.s2s.SiteToSiteCliMain
cmd.exe /C "%JAVA_EXE%" %JAVA_PARAMS% %*
cmd.exe /C ""%JAVA_EXE%" %JAVA_PARAMS% %* ""
popd

View File

@ -35,6 +35,6 @@ set LIB_DIR=%~dp0..\classpath;%~dp0..\lib
SET JAVA_PARAMS=-cp %LIB_DIR%\* -Xms12m -Xmx24m %JAVA_ARGS% org.apache.nifi.toolkit.tls.TlsToolkitMain
cmd.exe /C "%JAVA_EXE%" %JAVA_PARAMS% %*
cmd.exe /C ""%JAVA_EXE%" %JAVA_PARAMS% %* ""
popd

View File

@ -35,6 +35,6 @@ set LIB_DIR=%~dp0..\classpath;%~dp0..\lib
SET JAVA_PARAMS=-cp %LIB_DIR%\* -Xms12m -Xmx24m %JAVA_ARGS% org.apache.nifi.toolkit.zkmigrator.ZooKeeperMigratorMain
cmd.exe /C "%JAVA_EXE%" %JAVA_PARAMS% %*
cmd.exe /C ""%JAVA_EXE%" %JAVA_PARAMS% %* ""
popd