Skip to content

Commit 43c16e0

Browse files
committed
fix: Try bsd tar
1 parent 8c5a07d commit 43c16e0

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/script/setup.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ scoop bucket add nonportable
1313
scoop update
1414
scoop checkup
1515

16-
scoop install tar
16+
#scoop install tar

tree-sitter-langs-build.el

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -472,8 +472,7 @@ compile from the current state of the grammar repos, without cleanup."
472472
;; Disk names in Windows can confuse tar, so we need this option. BSD
473473
;; tar (macOS) doesn't have it, so we don't set it everywhere.
474474
;; https://unix.stackexchange.com/questions/13377/tar/13381#13381.
475-
(tar-opts (pcase system-type
476-
('windows-nt '("--force-local")))))
475+
(tar-opts ))
477476
(with-temp-file tree-sitter-langs--bundle-version-file
478477
(let ((coding-system-for-write 'utf-8))
479478
(insert tree-sitter-langs--bundle-version)))

0 commit comments

Comments
 (0)