mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-12-20 02:15:12 -07:00
27f7ef7852
* fix: don't invoke asdf inside asdf commands Recursive calls have a number of disadvantages: * Poorer performance since each invocation spawns and new process and re-executes all the code in bin/asdf * Makes debugging more difficult * More likely to introduce subtle bugs and the possibility for infinite loops
10 lines
342 B
Bash
10 lines
342 B
Bash
# -*- sh -*-
|
|
# shellcheck source=lib/functions/versions.bash
|
|
. "$(dirname "$(dirname "$0")")/lib/functions/versions.bash"
|
|
# shellcheck source=lib/commands/reshim.bash
|
|
. "$(dirname "$ASDF_CMD_FILE")/reshim.bash"
|
|
# shellcheck source=lib/functions/installs.bash
|
|
. "$(dirname "$(dirname "$0")")/lib/functions/installs.bash"
|
|
|
|
install_command "$@"
|