Shell-quoting some more things.

master
Jordan Harband 2014-09-27 17:25:52 -07:00
parent 145da7eef8
commit 4a8a5a1180
1 changed files with 2 additions and 2 deletions

4
nvm.sh
View File

@ -765,13 +765,13 @@ nvm() {
shift
local provided_version
provided_version=$1
provided_version="$1"
if [ -n "$provided_version" ]; then
VERSION=`nvm_version $provided_version`
if [ $VERSION = "N/A" ]; then
provided_version=''
nvm_rc_version
VERSION=`nvm_version $NVM_RC_VERSION`
VERSION="$(nvm_version "$NVM_RC_VERSION")"
else
shift
fi