Apache Solr open-source search software
SOLR-15700: Make include paths in bin/solr consistent (#358)
turnertgcee22de67dbe
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex bec177c35fa..dac8c1bf377 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -468,6 +468,8 @@ Improvements* SOLR-15707: Add the ability to set the AWS Profile per S3Repository (Houston Putman)+* SOLR-15700: Make include paths in bin/solr consistent (turnertg, janhoy via Eric Pugh)+Optimizations---------------------(No changes)diff --git a/solr/bin/solr b/solr/bin/solrindex 0c46a265015..b8e68f0285f 100755--- a/solr/bin/solr+++ b/solr/bin/solr@@ -22,11 +22,12 @@# file named solr.in.sh to set environment variables. Specifically,# the following locations are searched in this order:#-# ./+# <script location>/.# $HOME/.solr.in.sh# /usr/share/solr# /usr/local/share/solr-# /var/solr/+# /etc/default+# /var/solr# /opt/solr## Another option is to specify the full path to the include file in the@@ -86,6 +87,7 @@ if [ -z "$SOLR_INCLUDE" ]; then/usr/share/solr/solr.in.sh \/usr/local/share/solr/solr.in.sh \/etc/default/solr.in.sh \+ /var/solr/solr.in.sh \/opt/solr/solr.in.sh; doif [ -r "$include" ]; thenSOLR_INCLUDE="$include"