diff options
| author | David Czihak <git@dcz.at> | 2026-05-07 16:51:17 +0200 |
|---|---|---|
| committer | David Czihak <git@dcz.at> | 2026-05-07 16:51:59 +0200 |
| commit | 9f752738324c9c01b3adff7e3f65ca3b79a17b23 (patch) | |
| tree | d4bf81bf1fa597fea10ded2675a60cda3a40e1f7 | |
| parent | e0948238e2219ca7845c32ff562a747cd15b46e3 (diff) | |
| -rwxr-xr-x | Scripts/build-parser.sh | 2 | ||||
| -rwxr-xr-x | Scripts/update-parser.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Scripts/build-parser.sh b/Scripts/build-parser.sh index 3b93a1c..5cd7039 100755 --- a/Scripts/build-parser.sh +++ b/Scripts/build-parser.sh | |||
| @@ -26,7 +26,7 @@ | |||
| 26 | 26 | ||
| 27 | set -eu | 27 | set -eu |
| 28 | 28 | ||
| 29 | ROOT="$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)" | 29 | ROOT="$(CDPATH='' cd -- "$(dirname -- "$0")/.." && pwd)" |
| 30 | VENDOR_DIR="$ROOT/vendor/tree-sitter-zig" | 30 | VENDOR_DIR="$ROOT/vendor/tree-sitter-zig" |
| 31 | BUILD_DIR="$ROOT/build" | 31 | BUILD_DIR="$ROOT/build" |
| 32 | OUTPUT="$ROOT/Syntaxes/libtree-sitter-zig.dylib" | 32 | OUTPUT="$ROOT/Syntaxes/libtree-sitter-zig.dylib" |
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 @@ | |||
| 32 | 32 | ||
| 33 | set -eu | 33 | set -eu |
| 34 | 34 | ||
| 35 | ROOT="$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)" | 35 | ROOT="$(CDPATH='' cd -- "$(dirname -- "$0")/.." && pwd)" |
| 36 | VENDOR_DIR="$ROOT/vendor/tree-sitter-zig" | 36 | VENDOR_DIR="$ROOT/vendor/tree-sitter-zig" |
| 37 | UPSTREAM="https://github.com/tree-sitter-grammars/tree-sitter-zig.git" | 37 | UPSTREAM="https://github.com/tree-sitter-grammars/tree-sitter-zig.git" |
| 38 | REF="${1:-HEAD}" | 38 | REF="${1:-HEAD}" |
