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

Loading…
Cancel
Save