mirror of https://github.com/apache/lucene.git
SOLR-6694: fix misplaced percent found when fixing this issue
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1642780 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
25bbac4a0d
commit
6530bfc93f
|
@ -512,7 +512,7 @@ IF "%STOP_KEY%"=="" set STOP_KEY=solrrocks
|
||||||
IF "%SCRIPT_CMD%"=="stop" (
|
IF "%SCRIPT_CMD%"=="stop" (
|
||||||
IF "%SOLR_PORT%"=="" (
|
IF "%SOLR_PORT%"=="" (
|
||||||
IF "%STOP_ALL%"=="1" (
|
IF "%STOP_ALL%"=="1" (
|
||||||
for /f "usebackq" %%i in (`dir /b %SOLR_TIP\bin% ^| findstr /i "^solr-.*\.port$"`) do (
|
for /f "usebackq" %%i in (`dir /b %SOLR_TIP%\bin ^| findstr /i "^solr-.*\.port$"`) do (
|
||||||
set SOME_SOLR_PORT=
|
set SOME_SOLR_PORT=
|
||||||
For /F "Delims=" %%J In (%SOLR_TIP%\bin\%%i) do set SOME_SOLR_PORT=%%~J
|
For /F "Delims=" %%J In (%SOLR_TIP%\bin\%%i) do set SOME_SOLR_PORT=%%~J
|
||||||
if NOT "!SOME_SOLR_PORT!"=="" (
|
if NOT "!SOME_SOLR_PORT!"=="" (
|
||||||
|
@ -905,7 +905,7 @@ goto done
|
||||||
:get_info
|
:get_info
|
||||||
REM Find all Java processes, correlate with those listening on a port
|
REM Find all Java processes, correlate with those listening on a port
|
||||||
REM and then try to contact via that port using the status tool
|
REM and then try to contact via that port using the status tool
|
||||||
for /f "usebackq" %%i in (`dir /b %SOLR_TIP\bin% ^| findstr /i "^solr-.*\.port$"`) do (
|
for /f "usebackq" %%i in (`dir /b %SOLR_TIP%\bin ^| findstr /i "^solr-.*\.port$"`) do (
|
||||||
set SOME_SOLR_PORT=
|
set SOME_SOLR_PORT=
|
||||||
For /F "Delims=" %%J In (%SOLR_TIP%\bin\%%i) do set SOME_SOLR_PORT=%%~J
|
For /F "Delims=" %%J In (%SOLR_TIP%\bin\%%i) do set SOME_SOLR_PORT=%%~J
|
||||||
if NOT "!SOME_SOLR_PORT!"=="" (
|
if NOT "!SOME_SOLR_PORT!"=="" (
|
||||||
|
@ -1012,7 +1012,7 @@ IF "!CREATE_REPFACT!"=="" set CREATE_REPFACT=1
|
||||||
|
|
||||||
REM Find a port that Solr is running on
|
REM Find a port that Solr is running on
|
||||||
if "!CREATE_PORT!"=="" (
|
if "!CREATE_PORT!"=="" (
|
||||||
for /f "usebackq" %%i in (`dir /b %SOLR_TIP\bin% ^| findstr /i "^solr-.*\.port$"`) do (
|
for /f "usebackq" %%i in (`dir /b %SOLR_TIP%\bin ^| findstr /i "^solr-.*\.port$"`) do (
|
||||||
set SOME_SOLR_PORT=
|
set SOME_SOLR_PORT=
|
||||||
For /F "Delims=" %%J In (%SOLR_TIP%\bin\%%i) do set SOME_SOLR_PORT=%%~J
|
For /F "Delims=" %%J In (%SOLR_TIP%\bin\%%i) do set SOME_SOLR_PORT=%%~J
|
||||||
if NOT "!SOME_SOLR_PORT!"=="" (
|
if NOT "!SOME_SOLR_PORT!"=="" (
|
||||||
|
|
Loading…
Reference in New Issue