diff options
| author | Laurence Tratt <laurie@tratt.net> | 2021-07-19 19:12:01 +0100 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2021-09-17 21:06:36 +0200 |
| commit | 6b0179cba6d8845d3b6a6b53925653e6ad7cd264 (patch) | |
| tree | 8dba28cce8ea9c4c9e39809a9d37817a77924195 /lua | |
| parent | Update lockfile.json (diff) | |
| download | nvim-treesitter-6b0179cba6d8845d3b6a6b53925653e6ad7cd264.tar nvim-treesitter-6b0179cba6d8845d3b6a6b53925653e6ad7cd264.tar.gz nvim-treesitter-6b0179cba6d8845d3b6a6b53925653e6ad7cd264.tar.bz2 nvim-treesitter-6b0179cba6d8845d3b6a6b53925653e6ad7cd264.tar.lz nvim-treesitter-6b0179cba6d8845d3b6a6b53925653e6ad7cd264.tar.xz nvim-treesitter-6b0179cba6d8845d3b6a6b53925653e6ad7cd264.tar.zst nvim-treesitter-6b0179cba6d8845d3b6a6b53925653e6ad7cd264.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", |
