Fix wrong full version matching
parent
ac9a52886d
commit
f939adbedb
|
@ -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…
Reference in New Issue