diff options
| author | Laurence Tratt <laurie@tratt.net> | 2021-07-19 19:12:01 +0100 |
|---|---|---|
| committer | Stephan Seitz <stephan.lauf@yahoo.de> | 2021-07-19 21:51:33 +0200 |
| commit | 968ce80c99028d2e5a59c0e8ff69b8102b82a100 (patch) | |
| tree | 8dba28cce8ea9c4c9e39809a9d37817a77924195 /lua | |
| parent | Update lockfile.json (diff) | |
| download | nvim-treesitter-968ce80c99028d2e5a59c0e8ff69b8102b82a100.tar nvim-treesitter-968ce80c99028d2e5a59c0e8ff69b8102b82a100.tar.gz nvim-treesitter-968ce80c99028d2e5a59c0e8ff69b8102b82a100.tar.bz2 nvim-treesitter-968ce80c99028d2e5a59c0e8ff69b8102b82a100.tar.lz nvim-treesitter-968ce80c99028d2e5a59c0e8ff69b8102b82a100.tar.xz nvim-treesitter-968ce80c99028d2e5a59c0e8ff69b8102b82a100.tar.zst nvim-treesitter-968ce80c99028d2e5a59c0e8ff69b8102b82a100.zip | |
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.
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/nvim-treesitter/shell_command_selectors.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/nvim-treesitter/shell_command_selectors.lua b/lua/nvim-treesitter/shell_command_selectors.lua index 4a51ca9eb..d2a603c83 100644 --- a/lua/nvim-treesitter/shell_command_selectors.lua +++ b/lua/nvim-treesitter/shell_command_selectors.lua @@ -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", |
