Skip to content

Commit

Permalink
fix: use realpath instead of dirname in setup/build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoomen committed Oct 16, 2020
1 parent dd9f997 commit c2ac7da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
set -e
set -u

ROOT_DIR="`dirname \"$0\"`"
ROOT_DIR="$(realpath \"$0\")"

if [[ ! -d ./pkg/lib-es5 ]]; then
cd $ROOT_DIR/pkg
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set -u

[[ -e ./bin/vim-doge ]] && exit 0

ROOT_DIR="`dirname \"$0\"`"
ROOT_DIR="$(realpath \"$0\")"
cd $ROOT_DIR
mkdir ./bin

Expand Down

0 comments on commit c2ac7da

Please sign in to comment.