Sha256: 596ab61f37c0fc6649489c6ba7f750a6e2c50b65dfedc2332880fc4688355e49
Contents?: true
Size: 725 Bytes
Versions: 3
Compression:
Stored size: 725 Bytes
Contents
#!/bin/sh SCRIPT="$0" # SCRIPT may be an arbitrarily deep series of symlinks. Loop until we have the concrete path. while [ -h "$SCRIPT" ] ; do ls=`ls -ld "$SCRIPT"` # Drop everything prior to -> link=`expr "$ls" : '.*-> \(.*\)$'` if expr "$link" : '/.*' > /dev/null; then SCRIPT="$link" else SCRIPT=`dirname "$SCRIPT"`/"$link" fi done # determine elasticsearch home ES_HOME=`dirname "$SCRIPT"`/.. # make ELASTICSEARCH_HOME absolute ES_HOME=`cd $ES_HOME; pwd` if [ -x $JAVA_HOME/bin/java ]; then JAVA=$JAVA_HOME/bin/java else JAVA=`which java` fi CLASSPATH=$CLASSPATH:$ES_HOME/lib/* $JAVA -Delasticsearch -Des.path.home=$ES_HOME -cp $CLASSPATH org.elasticsearch.plugins.PluginManager $*
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mama_search-0.0.3 | vendor/elasticsearch-0.14.2/bin/plugin |
mama_search-0.0.2 | vendor/elasticsearch-0.14.2/bin/plugin |
mama_search-0.0.1 | vendor/elasticsearch-0.14.2/bin/plugin |