mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 03:26:52 -04:00
Add -z switch to tar.
Some versions of tar automatically infer `-z` if a `.gz` (or other compressed extension) file is passed -- but some, including OpenBSD's, don't do this and require an explicit `-z`. As far as I know, any version of tar which automatically unzips files supports `-z` so this should be a backwards compatible change for most versions of tar.
This commit is contained in:
parent
f12790c5d7
commit
968ce80c99
1 changed files with 1 additions and 1 deletions
|
|
@ -158,7 +158,7 @@ function M.select_download_commands(repo, project_name, cache_folder, revision)
|
|||
err = "Error during tarball extraction.",
|
||||
opts = {
|
||||
args = {
|
||||
"-xvf",
|
||||
"-xvfz",
|
||||
project_name .. ".tar.gz",
|
||||
"-C",
|
||||
project_name .. "-tmp",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue