Fix some syntax issues

master
Isaac Wolkerstorfer 2011-01-29 16:24:42 +01:00
parent 57d62762e1
commit cd3304548f
1 changed files with 2 additions and 2 deletions

4
nvm.sh
View File

@ -60,7 +60,7 @@ nvm_version()
fi
if [ ! "$VERSION" ]; then
echo "N/A"
return -1
return 13
elif [ -e "$NVM_DIR/$VERSION" ]; then
(cd $NVM_DIR; ls -dG "$VERSION")
else
@ -101,7 +101,7 @@ nvm()
"install" )
if [ $# -ne 2 ]; then
nvm help
return;
return
fi
[ "$NOCURL" ] && curl && return
VERSION=`nvm_version $2`