diff --git a/build.sh b/build.sh index 23205fcc..3d91bdea 100755 --- a/build.sh +++ b/build.sh @@ -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 diff --git a/install.sh b/install.sh index 93266ddf..19588154 100755 --- a/install.sh +++ b/install.sh @@ -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