remove unnecessary -r and -f for ln

This commit is contained in:
Daniel Bretoi 2014-06-27 09:20:30 -07:00
parent 29251e3f9b
commit 71f0dbff03

2
nvm.sh
View File

@ -526,7 +526,7 @@ nvm() {
export NODE_PATH export NODE_PATH
export NVM_PATH="$NVM_DIR/$VERSION/lib/node" export NVM_PATH="$NVM_DIR/$VERSION/lib/node"
export NVM_BIN="$NVM_DIR/$VERSION/bin" export NVM_BIN="$NVM_DIR/$VERSION/bin"
rm -rf "$NVM_DIR/current" && ln -sf "$NVM_DIR/$VERSION" "$NVM_DIR/current" rm -f "$NVM_DIR/current" && ln -s "$NVM_DIR/$VERSION" "$NVM_DIR/current"
echo "Now using node $VERSION" echo "Now using node $VERSION"
;; ;;
"run" ) "run" )