This is an automated email from the ASF dual-hosted git repository.
malliaridis pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/main by this push:
new eb9864721fe Remove unsupported / deprecated options for auth command
(#2858)
eb9864721fe is described below
commit eb9864721fed029a78c8a66c51637ab1a7aaa859
Author: Christos Malliaridis <[email protected]>
AuthorDate: Wed Nov 27 17:41:35 2024 +0200
Remove unsupported / deprecated options for auth command (#2858)
Co-authored-by: Eric Pugh <[email protected]>
---
solr/bin/solr.cmd | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/solr/bin/solr.cmd b/solr/bin/solr.cmd
index 9f875926517..ffa6f960daa 100755
--- a/solr/bin/solr.cmd
+++ b/solr/bin/solr.cmd
@@ -1174,11 +1174,9 @@ for %%a in (%*) do (
if "!arg:~0,1!" equ "-" set "option=!arg!"
) else (
set "option!option!=%%a"
- if "!option!" equ "-s" set "SOLR_HOME=%%a"
if "!option!" equ "--solr-home" set "SOLR_HOME=%%a"
- if "!option!" equ "-d" set "SOLR_SERVER_DIR=%%a"
- if "!option!" equ "--server-dir" set "SOLR_SERVER_DIR=%%a"
- if not "!option!" equ "-s" if not "!option!" equ "--solr-home" if not
"!option!" equ "-d" if not "!option!" equ "--server-dir" (
+ if "!option!" equ "--server-dir" set "SOLR_SERVER_DIR=%%a"
+ if not "!option!" equ "--solr-home" if not "!option!" equ "--server-dir"
(
set "AUTH_PARAMS=!AUTH_PARAMS! !option! %%a"
)
set "option="