mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
fix: Typo in POSIX entrypoint (#1562)
This commit is contained in:
parent
684f4f058f
commit
6b2ebf575f
2
asdf.sh
2
asdf.sh
@ -10,7 +10,7 @@ export ASDF_DIR="${ASDF_DIR:-}"
|
|||||||
if [ -z "$ASDF_DIR" ]; then
|
if [ -z "$ASDF_DIR" ]; then
|
||||||
if [ -n "$BASH_VERSION" ]; then
|
if [ -n "$BASH_VERSION" ]; then
|
||||||
# Use BASH_SOURCE[0] to obtain the relative path to this source'd file. Since it's
|
# Use BASH_SOURCE[0] to obtain the relative path to this source'd file. Since it's
|
||||||
# a relative path, 'cd' to its dirname and use '$PWD" to obtain the fullpath.
|
# a relative path, 'cd' to its dirname and use '$PWD' to obtain the fullpath.
|
||||||
# Use 'builtin cd' to ensure user-defined 'cd()' functions aren't called.
|
# Use 'builtin cd' to ensure user-defined 'cd()' functions aren't called.
|
||||||
# Use variable '_asdf_old_dir' to avoid using subshells.
|
# Use variable '_asdf_old_dir' to avoid using subshells.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user