Browse Source

Fix wrong full version matching

master
Marcelo Diniz 14 years ago
parent
commit
f939adbedb
  1. 2
      nvm.sh

2
nvm.sh

@ -38,7 +38,7 @@ nvm_version() @@ -38,7 +38,7 @@ nvm_version()
return
fi
# If it looks like an explicit version, don't do anything funny
if [[ "$PATTERN" == v*.*.* ]]; then
if [[ "$PATTERN" == v?*.?*.?* ]]; then
VERSION="$PATTERN"
fi
# The default version is the current one

Loading…
Cancel
Save