Adding back check if directory exists

This commit is contained in:
rafaelliu 2018-06-06 19:06:13 -07:00
parent ae31774c69
commit fb4fc79be7

View File

@ -7,7 +7,8 @@ else
fi
export ASDF_DIR
ASDF_DIR="$(dirname "$current_script_path" &> /dev/null || exit 1; pwd)"
ASDF_DIR="$(dirname "$current_script_path")"
[ -d "$ASDF_DIR" ] || return
# Add asdf to PATH
#