commit | 104244f6971ab1debfacf507428bdc58235954b2 | [log] [tgz] |
---|---|---|
author | Jaikiran Pai <jaikiran@apache.org> | Wed Dec 04 13:16:42 2019 +0530 |
committer | Jaikiran Pai <jaikiran@apache.org> | Wed Dec 04 13:16:42 2019 +0530 |
tree | 2ae1cd95d8cd4e3ee48f4e6ed81f479740b24289 | |
parent | fc82dd1bf634646d2a0c57a1b19c06c6849b8300 [diff] |
Fix testCompatibility.sh to allow space in PATH env variable
diff --git a/test-compatibility.sh b/test-compatibility.sh index cbce1c4..79d4eec 100755 --- a/test-compatibility.sh +++ b/test-compatibility.sh
@@ -49,7 +49,7 @@ 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"