Skip to content

Commit

Permalink
Support older Bash versions on MacOS #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakski committed Jan 11, 2024
1 parent e7a5ebb commit 82f13cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/install
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ else
git_hash="$ASDF_INSTALL_VERSION"
fi

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 82f13cf

Please sign in to comment.