Browse Source

If cd fails, don't run pwd

Whitespace...
master
Gerhard Lazu 13 years ago
parent
commit
3e62657575
  1. 2
      nvm.sh

2
nvm.sh

@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
# Auto detect the NVM_DIR
if [ ! -d "$NVM_DIR" ]; then
export NVM_DIR=$(cd $(dirname ${BASH_SOURCE[0]:-$0}); pwd)
export NVM_DIR=$(cd $(dirname ${BASH_SOURCE[0]:-$0}) && pwd)
fi
# Expand a version using the version cache

Loading…
Cancel
Save