Skip to content

Commit

Permalink
Support older Bash versions on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakski committed Jan 11, 2024
1 parent 38bb72f commit e7a5ebb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/exec-env
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit e7a5ebb

Please sign in to comment.