forked from coolaj86/node-installer.sh
unset far typo fix
This commit is contained in:
parent
e436cdb64d
commit
17c0b01ee0
|
@ -245,7 +245,7 @@ if [ -n "${NODEJS_VER:-}" ]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
NODEJS_VER="${NODEJS_VER:v}" # Search for 'v' at the least
|
||||
NODEJS_VER="${NODEJS_VER:-v}" # Search for 'v' at the least
|
||||
# sort -rV # will sort by version number, but it appears these are already sorted
|
||||
# tail +2 # starts at line two (1-indexed) and all after (omits the csv header with 'version' and such)
|
||||
# cut -f 1 # gets only the first column
|
||||
|
|
Loading…
Reference in New Issue