show path and java home in build process

This commit is contained in:
idk
2022-05-10 19:14:05 -04:00
parent 12b762d595
commit b949fa8a84

View File

@@ -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