Update cli to work on windows
Original commit: elastic/x-pack-elasticsearch@84f6ba3c1f
This commit is contained in:
parent
28f1107dad
commit
f2792b8d93
|
@ -11,11 +11,12 @@ call "%~dp0..\elasticsearch-env.bat" || exit /b 1
|
|||
|
||||
call "%~dp0x-pack-env.bat" || exit /b 1
|
||||
|
||||
set CLI_JAR=!ES_CLASSPATH!;!ES_HOME!/plugins/x-pack/bin/sql-cli-*.jar
|
||||
set CLI_JAR=%ES_HOME%/plugins/x-pack/bin/*
|
||||
|
||||
%JAVA% ^
|
||||
-jar "%CLI_JAR%" ^
|
||||
-cp "%CLI_JAR%" ^
|
||||
org.elasticsearch.xpack.sql.cli.Cli ^
|
||||
%*
|
||||
|
||||
|
||||
endlocal
|
||||
endlocal
|
||||
|
|
Loading…
Reference in New Issue