diff --git a/bin/exec-env b/bin/exec-env index f1ef286..fa48df0 100755 --- a/bin/exec-env +++ b/bin/exec-env @@ -2,7 +2,7 @@ set -euo pipefail -if [ -v LD_LIBRARY_PATH ]; then +if [ -n "${LD_LIBRARY_PATH:-}" ]; then export LD_LIBRARY_PATH="${ASDF_INSTALL_PATH}/bin:${LD_LIBRARY_PATH}/lib" else export LD_LIBRARY_PATH="${ASDF_INSTALL_PATH}/lib"