summaryrefslogtreecommitdiff
path: root/test-compatibility.sh
diff options
context:
space:
mode:
authorJaikiran Pai <jaikiran@apache.org>2019-12-04 13:16:42 +0530
committerJaikiran Pai <jaikiran@apache.org>2019-12-04 13:16:42 +0530
commit104244f6971ab1debfacf507428bdc58235954b2 (patch)
tree2ae1cd95d8cd4e3ee48f4e6ed81f479740b24289 /test-compatibility.sh
parentfc82dd1bf634646d2a0c57a1b19c06c6849b8300 (diff)
downloadant-104244f6971ab1debfacf507428bdc58235954b2.tar.gz
Fix testCompatibility.sh to allow space in PATH env variable
Diffstat (limited to 'test-compatibility.sh')
-rwxr-xr-xtest-compatibility.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-compatibility.sh b/test-compatibility.sh
index cbce1c4a0..79d4eec4d 100755
--- a/test-compatibility.sh
+++ b/test-compatibility.sh
@@ -49,7 +49,7 @@ wget https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u23
tar -zxf ./*.tar.gz
# set JAVA_HOME to point to the newly extracted tar's content
export JAVA_HOME="`echo \`pwd\`/\`echo */\``"
-export PATH="${JAVA_HOME}"/bin:$PATH
+export PATH="${JAVA_HOME}"/bin:"${PATH}"
cd ../..
echo "Using \"${JAVA_HOME}\" to run Ant tests"