diff options
| author | William Boman <william@redwill.se> | 2021-09-30 10:50:29 +0200 |
|---|---|---|
| committer | William Boman <william@redwill.se> | 2021-09-30 11:02:06 +0200 |
| commit | 5fb513353a20d15bb44552ac37e2e640684c4203 (patch) | |
| tree | 5c7988a7e115138719a5a6660bacb696c788c92a /lua | |
| parent | don't assume bash location (#108) (diff) | |
| download | mason-5fb513353a20d15bb44552ac37e2e640684c4203.tar mason-5fb513353a20d15bb44552ac37e2e640684c4203.tar.gz mason-5fb513353a20d15bb44552ac37e2e640684c4203.tar.bz2 mason-5fb513353a20d15bb44552ac37e2e640684c4203.tar.lz mason-5fb513353a20d15bb44552ac37e2e640684c4203.tar.xz mason-5fb513353a20d15bb44552ac37e2e640684c4203.tar.zst mason-5fb513353a20d15bb44552ac37e2e640684c4203.zip | |
shell: don't set pipefail option for sh
Resolves #110.
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/nvim-lsp-installer/installers/shell.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/nvim-lsp-installer/installers/shell.lua b/lua/nvim-lsp-installer/installers/shell.lua index 2d0ccf6f..d06f5898 100644 --- a/lua/nvim-lsp-installer/installers/shell.lua +++ b/lua/nvim-lsp-installer/installers/shell.lua @@ -37,7 +37,7 @@ end function M.sh(raw_script, opts) local default_opts = { - prefix = "set -euo pipefail;", + prefix = "set -eu;", env = {}, } opts = vim.tbl_deep_extend("force", default_opts, opts or {}) |
