Merge pull request elastic/elasticsearch#3945 from areek/fix/license-cli-tools
Fix license command line tools Original commit: elastic/x-pack-elasticsearch@bcc32c79a6
This commit is contained in:
commit
a4e9f8f501
|
@ -26,7 +26,7 @@ LICENSE_HOME=`dirname "$SCRIPT"`/..
|
||||||
LICENSE_HOME=`cd "$LICENSE_HOME"; pwd`
|
LICENSE_HOME=`cd "$LICENSE_HOME"; pwd`
|
||||||
|
|
||||||
# setup classpath
|
# setup classpath
|
||||||
LICENSE_CLASSPATH=$LICENSE_CLASSPATH:$LICENSE_HOME/lib/${project.artifactId}-${project.version}-exec.jar:$LICENSE_HOME/lib/*
|
LICENSE_CLASSPATH=$LICENSE_CLASSPATH:$LICENSE_HOME/lib/*
|
||||||
|
|
||||||
if [ -x "$JAVA_HOME/bin/java" ]; then
|
if [ -x "$JAVA_HOME/bin/java" ]; then
|
||||||
JAVA=$JAVA_HOME/bin/java
|
JAVA=$JAVA_HOME/bin/java
|
||||||
|
|
|
@ -26,7 +26,7 @@ LICENSE_HOME=`dirname "$SCRIPT"`/..
|
||||||
LICENSE_HOME=`cd "$LICENSE_HOME"; pwd`
|
LICENSE_HOME=`cd "$LICENSE_HOME"; pwd`
|
||||||
|
|
||||||
# setup classpath
|
# setup classpath
|
||||||
LICENSE_CLASSPATH=$LICENSE_CLASSPATH:$LICENSE_HOME/lib/${project.artifactId}-${project.version}-exec.jar:$LICENSE_HOME/lib/*
|
LICENSE_CLASSPATH=$LICENSE_CLASSPATH:$LICENSE_HOME/lib/*
|
||||||
|
|
||||||
if [ -x "$JAVA_HOME/bin/java" ]; then
|
if [ -x "$JAVA_HOME/bin/java" ]; then
|
||||||
JAVA=$JAVA_HOME/bin/java
|
JAVA=$JAVA_HOME/bin/java
|
||||||
|
|
|
@ -26,7 +26,7 @@ LICENSE_HOME=`dirname "$SCRIPT"`/..
|
||||||
LICENSE_HOME=`cd "$LICENSE_HOME"; pwd`
|
LICENSE_HOME=`cd "$LICENSE_HOME"; pwd`
|
||||||
|
|
||||||
# setup classpath
|
# setup classpath
|
||||||
LICENSE_CLASSPATH=$LICENSE_CLASSPATH:$LICENSE_HOME/lib/${project.artifactId}-${project.version}-exec.jar:$LICENSE_HOME/lib/*
|
LICENSE_CLASSPATH=$LICENSE_CLASSPATH:$LICENSE_HOME/lib/*
|
||||||
|
|
||||||
if [ -x "$JAVA_HOME/bin/java" ]; then
|
if [ -x "$JAVA_HOME/bin/java" ]; then
|
||||||
JAVA=$JAVA_HOME/bin/java
|
JAVA=$JAVA_HOME/bin/java
|
||||||
|
|
Loading…
Reference in New Issue