SOLR-12141: Fix "bin/solr" shell scripts (Windows/Linux/Mac) to correctly detect...