Ethanlm commented on a change in pull request #3316:
URL: https://github.com/apache/storm/pull/3316#discussion_r465769469



##########
File path: .travis.yml
##########
@@ -52,6 +54,7 @@ before_install:
   - export MVN_HOME=$HOME/apache-maven-3.6.3
   - if [ ! -d $MVN_HOME/bin ]; then wget 
https://archive.apache.org/dist/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz
 -P $HOME; tar xzvf $HOME/apache-maven-3.6.3-bin.tar.gz -C $HOME; fi
   - export PATH=$MVN_HOME/bin:$PATH
+  - f=$(which javac); while [[ -L $f ]]; do f=$(readlink $f);done; export 
JAVA_HOME=${f%/bin/*}

Review comment:
       Thanks for the detailed explanation!




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to