SOLR-4796: zkcli.sh should honor JAVA_HOME

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1481753 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2013-05-13 09:36:53 +00:00
parent d4e8d82891
commit e64b4aa347
2 changed files with 3 additions and 1 deletions

View File

@ -108,6 +108,8 @@ Bug Fixes
* SOLR-4563: RSS DIH-example not working (janhoy)
* SOLR-4796: zkcli.sh should honor JAVA_HOME (Roman Shaposhnik via Mark Miller)
Other Changes
----------------------

View File

@ -9,5 +9,5 @@ JVM="java"
sdir="`dirname \"$0\"`"
$JVM -Dlog4j.configuration=file:$sdir/log4j.properties -classpath "$sdir/../solr-webapp/webapp/WEB-INF/lib/*:$sdir/../lib/ext/*" org.apache.solr.cloud.ZkCLI ${1+"$@"}
PATH=$JAVA_HOME/bin:$PATH $JVM -Dlog4j.configuration=file:$sdir/log4j.properties -classpath "$sdir/../solr-webapp/webapp/WEB-INF/lib/*:$sdir/../lib/ext/*" org.apache.solr.cloud.ZkCLI ${1+"$@"}