Browse Source

Merge pull request #70 from mdiniz/master

Fix wrong full version matching
master
Tim Caswell 14 years ago
parent
commit
ff3e7d4025
  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