Skip to content

Commit

Permalink
shellcheck warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
msaladna committed Jun 21, 2018
1 parent 857fb2d commit d8a87b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nvm-exec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

SOURCE=${BASH_SOURCE[0]}
test -L "$SOURCE" && SOURCE=`readlink "$SOURCE"`
test -L "$SOURCE" && SOURCE=$(readlink "$SOURCE")
DIR="$(command cd "$( dirname "$SOURCE" )" && pwd )"

# shellcheck disable=SC1090
Expand Down
2 changes: 1 addition & 1 deletion nvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3202,7 +3202,7 @@ nvm() {
fi
fi
NVM_EXEC="$NVM_DIR/nvm-exec"
test ! -f "$NVM_EXEC" && NVM_EXEC=`dirname ${BASH_SOURCE[0]-}`/nvm-exec
test ! -f "$NVM_EXEC" && NVM_EXEC=$(dirname ${BASH_SOURCE[0]-})/nvm-exec
NODE_VERSION="$VERSION" "$NVM_EXEC" "$@"
;;
"ls" | "list" )
Expand Down

0 comments on commit d8a87b4

Please sign in to comment.