Merge pull request #15549 from gmarz/master

Fix Windows service installation failure
This commit is contained in:
Greg Marzouka 2016-01-21 09:33:47 -05:00
commit 8fffc474dd
2 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ set JAVA_OPTS=%JAVA_OPTS% -Djna.nosys=true
REM check in case a user was using this mechanism
if "%ES_CLASSPATH%" == "" (
set ES_CLASSPATH=%ES_HOME%/lib/elasticsearch-${project.version}.jar;%ES_HOME%/lib/*
set ES_CLASSPATH=!ES_HOME!/lib/elasticsearch-${project.version}.jar;!ES_HOME!/lib/*
) else (
ECHO Error: Don't modify the classpath with ES_CLASSPATH, Best is to add 1>&2
ECHO additional elements via the plugin mechanism, or if code must really be 1>&2

View File

@ -1,5 +1,5 @@
@echo off
SETLOCAL
SETLOCAL enabledelayedexpansion
TITLE Elasticsearch Service ${project.version}