0
0
mirror of https://github.com/tj/n.git synced 2024-11-25 15:49:24 +01:00

add back support for "v" prefix on install

This commit is contained in:
TJ Holowaychuk 2013-01-18 10:38:07 -08:00
parent 02945efe26
commit 9100fea4f6

2
bin/n
View File

@ -189,7 +189,7 @@ activate_previous() {
#
install_node() {
local version=$1
local version=${1#v}
local config=$@
local dir=$VERSIONS_DIR/$version
local url=$(tarball_url $version)