mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
Use asdf_dir instead of $ASDF_DIR
This commit is contained in:
parent
1886e00cf1
commit
a60b28e716
@ -2,7 +2,7 @@ update_command() {
|
||||
local update_to_head=$1
|
||||
|
||||
(
|
||||
cd "${ASDF_DIR}" || exit 1
|
||||
cd "$(asdf_dir)" || exit 1
|
||||
|
||||
if [ -f asdf_updates_disabled ] || ! git rev-parse --is-inside-work-tree &> /dev/null; then
|
||||
echo "Update command disabled. Please use the package manager that you used to install asdf to upgrade asdf."
|
||||
|
Loading…
Reference in New Issue
Block a user