Trevor Turner created SOLR-15700:
------------------------------------

             Summary: Fix include path consistency in bin/solr shell wrapper
                 Key: SOLR-15700
                 URL: https://issues.apache.org/jira/browse/SOLR-15700
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: scripts and tools
    Affects Versions: 8.10
         Environment: CentOS 7, Solr 8.10.1
--
openjdk version "11.0.12" 2021-07-20 LTS
OpenJDK Runtime Environment 18.9 (build 11.0.12+7-LTS)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.12+7-LTS, mixed mode, sharing
            Reporter: Trevor Turner
         Attachments: fix-solr-sh-include-paths.patch

The shell script {{bin/solr}} states the paths it will search for 
{{solr.in.sh}} in a comment near the top of the script, however, not all of 
these paths are consistent with the logic that actually searches for the file.

Since one can either edit the script in their own packaging/deployment or 
simply use the {{SOLR_INCLUDE}} env variable, this doesn't pose much of a 
problem, but is a minor annoyance if configuring a package based on this 
comment.

I've created and attached a patch that includes all paths consistently in both 
places.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to