aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2021-09-30 10:50:29 +0200
committerWilliam Boman <william@redwill.se>2021-09-30 11:02:06 +0200
commit5fb513353a20d15bb44552ac37e2e640684c4203 (patch)
tree5c7988a7e115138719a5a6660bacb696c788c92a /lua
parentdon't assume bash location (#108) (diff)
downloadmason-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.lua2
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 {})