Skip to content

Commit

Permalink
remove unnecessary -r and -f for ln
Browse files Browse the repository at this point in the history
  • Loading branch information
danielb2 committed Jun 27, 2014
1 parent 29251e3 commit 71f0dbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nvm.sh
Expand Up @@ -526,7 +526,7 @@ nvm() {
export NODE_PATH
export NVM_PATH="$NVM_DIR/$VERSION/lib/node"
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"
;;
"run" )
Expand Down

0 comments on commit 71f0dbf

Please sign in to comment.