Print helpful error message when $ASDF_DIR is not a directory.

This commit is contained in:
Trevor Brown 2018-07-14 20:01:09 -04:00
parent f5b5cf379d
commit bd8f7d9139

View File

@ -8,7 +8,7 @@ fi
export ASDF_DIR
ASDF_DIR="$(dirname "$current_script_path")"
[ -d "$ASDF_DIR" ] || exit 1
[ -d "$ASDF_DIR" ] || echo '$ASDF_DIR is not a directory'
# Add asdf to PATH
#