show path and java home in build process
This commit is contained in:
4
build.sh
4
build.sh
@@ -27,12 +27,12 @@ fi
|
|||||||
if [ "$JAVA" -lt "17" ]; then
|
if [ "$JAVA" -lt "17" ]; then
|
||||||
echo "It is highly recommended that you use Java 17+ to build release packages"
|
echo "It is highly recommended that you use Java 17+ to build release packages"
|
||||||
fi
|
fi
|
||||||
sleep 5s
|
|
||||||
|
|
||||||
if [ -z "${JAVA_HOME}" ]; then
|
if [ -z "${JAVA_HOME}" ]; then
|
||||||
JAVA_HOME=`type -p java|xargs readlink -f|xargs dirname|xargs dirname`
|
JAVA_HOME=`type -p java|xargs readlink -f|xargs dirname|xargs dirname`
|
||||||
echo "Building with: $JAVA, $JAVA_HOME"
|
|
||||||
fi
|
fi
|
||||||
|
echo "Building with: $JAVA, $JAVA_HOME"
|
||||||
|
sleep 5s
|
||||||
|
|
||||||
echo "cleaning"
|
echo "cleaning"
|
||||||
./clean.sh
|
./clean.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user