From 25b9c336f03263749ba6046a8a57b219331181b1 Mon Sep 17 00:00:00 2001 From: Mukul Gandhi Date: Sat, 25 Mar 2023 17:58:52 +0530 Subject: [PATCH] minor corrections to, linux build.sh file --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 7120d708a..4f7ac97c1 100755 --- a/build.sh +++ b/build.sh @@ -56,7 +56,7 @@ if [ "$JAVA_HOME" = "" ]; then exit 1 fi -if [-f "$JAVA_HOME/lib/tools.jar" ]; then +if [ -f "$JAVA_HOME/lib/tools.jar" ]; then CLASSPATH=$CLASSPATH:$JAVA_HOME/lib/tools.jar fi @@ -66,7 +66,7 @@ CLASSPATH=$CLASSPATH:$JAVA_HOME/lib/tools.jar # Since Linux has scoped environments, we don't need explicit temporary vars. # Default is to use a copy of ant bundled with xalan-java. -if [ "$ANT_HOME"=="" ]; then +if [ "$ANT_HOME" = "" ]; then ANT_HOME=. fi