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

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


The following commit(s) were added to refs/heads/master by this push:
     new 89bb0c97e Don't override JAVA_HOME if set
89bb0c97e is described below

commit 89bb0c97e44c2afcb21b4f48444987b90c3be905
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Dec 18 12:53:17 2023 -0500

    Don't override JAVA_HOME if set
---
 juneau-env.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/juneau-env.sh b/juneau-env.sh
index 63f319aba..279d0b601 100755
--- a/juneau-env.sh
+++ b/juneau-env.sh
@@ -14,7 +14,7 @@
 . ~/.profile
 set -e
 export JUNEAU_VERSION=9.0.1
-export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-18.jdk/Contents/Home
+export 
JAVA_HOME=${JAVA_HOME:-/Library/Java/JavaVirtualMachines/jdk-18.jdk/Contents/Home}
 export PATH=$JAVA_HOME/bin:$PATH
 export PATH=/opt/homebrew/bin:$PATH
 export GPG_TTY=$(tty)

Reply via email to