Use asdf_dir instead of $ASDF_DIR

This commit is contained in:
Trevor Brown 2019-02-28 22:55:50 -05:00
parent 1886e00cf1
commit a60b28e716

View File

@ -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."