From b949fa8a848e7f05614b23ccfb1eee593106b84e Mon Sep 17 00:00:00 2001 From: idk Date: Tue, 10 May 2022 19:14:05 -0400 Subject: [PATCH] show path and java home in build process --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index a6b1402..12e374f 100755 --- a/build.sh +++ b/build.sh @@ -27,12 +27,12 @@ fi if [ "$JAVA" -lt "17" ]; then echo "It is highly recommended that you use Java 17+ to build release packages" fi -sleep 5s if [ -z "${JAVA_HOME}" ]; then JAVA_HOME=`type -p java|xargs readlink -f|xargs dirname|xargs dirname` - echo "Building with: $JAVA, $JAVA_HOME" fi +echo "Building with: $JAVA, $JAVA_HOME" +sleep 5s echo "cleaning" ./clean.sh