Fix parse error when invoking copy-packages

This commit is contained in:
DanSchmidt 2014-03-02 15:42:43 -06:00
parent dc53a37d4f
commit 25dac48ca0

2
nvm.sh
View File

@ -531,7 +531,7 @@ nvm() {
return
fi
VERSION=`nvm_version $2`
local ROOT=`(nvm use $VERSION && npm -g root)`
local ROOT="(nvm use $VERSION && npm -g root)"
local ROOTDEPTH=$((`echo $ROOT | sed 's/[^\/]//g'|wc -m` -1))
# declare local INSTALLS first, otherwise it doesn't work in zsh