shellcheck warnings

This commit is contained in:
Matt Saladna 2018-06-21 14:38:55 -04:00 committed by Jordan Harband
parent acbd22fc7e
commit 2cfe795599
No known key found for this signature in database
GPG Key ID: 9F6A681E35EF8B56
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
DIR="$(dirname $(realpath "${BASH_SOURCE[0]}"))"
DIR="$(dirname "$(realpath "${BASH_SOURCE[0]}")")"
unset NVM_CD_FLAGS

2
nvm.sh
View File

@ -4078,7 +4078,7 @@ nvm() {
NVM_EXEC="${NVM_DIR}/nvm-exec"
if [ ! -f "${NVM_EXEC}" ]; then
NVM_EXEC=`dirname ${BASH_SOURCE[0]-}`/nvm-exec
NVM_EXEC="$(dirname "${BASH_SOURCE[0]-}")/nvm-exec"
fi
NODE_VERSION="${VERSION}" "${NVM_EXEC}" "$@"
;;