You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by ja...@apache.org on 2019/12/04 07:47:22 UTC

[ant] branch master updated: Fix testCompatibility.sh to allow space in PATH env variable

This is an automated email from the ASF dual-hosted git repository.

jaikiran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ant.git


The following commit(s) were added to refs/heads/master by this push:
     new 104244f  Fix testCompatibility.sh to allow space in PATH env variable
104244f is described below

commit 104244f6971ab1debfacf507428bdc58235954b2
Author: Jaikiran Pai <ja...@apache.org>
AuthorDate: Wed Dec 4 13:16:42 2019 +0530

    Fix testCompatibility.sh to allow space in PATH env variable
---
 test-compatibility.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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