mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 09:38:16 -07:00
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:
parent
550f286855
commit
95e0f534e6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user