elasticsearch/elasticsearch — pull request #4958 by rduplain (2014-01-30 18:29:12+00:00)
Title: Add ES_HOME to ES_INCLUDE search path.

With this change, the elasticsearch script can be linked to another path without having to set ES_INCLUDE to match the installation path. Previously, the elasticsearch would find ES_HOME correctly even if linked but could not find the include script, and finding it would be expected behavior to me based on its current search path.

I'm going straight to a pull request on this, as it's a minor improvement to the executable and solutions to ES_INCLUDES are generally workarounds listed on closed issues.