aboutsummaryrefslogtreecommitdiff
path: root/Scripts/update-parser.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Scripts/update-parser.sh')
-rwxr-xr-xScripts/update-parser.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Scripts/update-parser.sh b/Scripts/update-parser.sh
index f4fab95..6e1fd63 100755
--- a/Scripts/update-parser.sh
+++ b/Scripts/update-parser.sh
@@ -32,7 +32,7 @@
set -eu
-ROOT="$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)"
+ROOT="$(CDPATH='' cd -- "$(dirname -- "$0")/.." && pwd)"
VENDOR_DIR="$ROOT/vendor/tree-sitter-zig"
UPSTREAM="https://github.com/tree-sitter-grammars/tree-sitter-zig.git"
REF="${1:-HEAD}"