Defaults to empty ASDF_DATA_DIR

If ASDF_DATA_DIR variable is undefined it will assign an empty value to
it so bash instances running with set -o nounset can run the script
without error.
This commit is contained in:
Pablo Lalloni 2019-12-31 09:58:05 -03:00
parent 550f286855
commit 95e0f534e6

View File

@ -6,6 +6,7 @@ GREP_OPTIONS="--color=never"
GREP_COLORS=
ASDF_DIR=${ASDF_DIR:-''}
ASDF_DATA_DIR=${ASDF_DATA_DIR:-''}
asdf_version() {
local version git_rev