From e7a5ebba3d2947c3233f29e553b02b738173def5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Pie=C5=84kowski?= <8525083+Jakski@users.noreply.github.com> Date: Thu, 11 Jan 2024 09:29:19 +0100 Subject: [PATCH] Support older Bash versions on MacOS --- bin/exec-env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"