set JAVA_HOME in exec-env (#148)

This commit is contained in:
Markus Perndorfer 2021-08-08 01:04:46 +02:00 committed by GitHub
parent 21cbbcd55d
commit 8aa9628cb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

5
bin/exec-env Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env bash
if [ -n "$ASDF_INSTALL_PATH" ]; then
export JAVA_HOME="$ASDF_INSTALL_PATH"
fi