Merge pull request #70 from mdiniz/master

Fix wrong full version matching
master
Tim Caswell 2011-10-01 16:37:41 -07:00
commit ff3e7d4025
1 changed files with 1 additions and 1 deletions

2
nvm.sh 100644 → 100755
View File

@ -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