Skip to content

Commit

Permalink
Change running scripts to run bash instead of sh
Browse files Browse the repository at this point in the history
While this lowers compatability somewhat, any system that a developer is
actively using is expected to have bash installed. This change is required
because asdf does not currently support sh, only bash and other more advanced
shells.

Fixes #114
  • Loading branch information
axelson committed Feb 9, 2020
1 parent d8277fa commit 8cdc13e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
- Bump ElixirSense
- Main changes: return results by arity, return all type signatures, typespec and dialyzer fixes

Breaking Changes:

- `language_server.sh` and `debugger.sh` run bash instead of `sh` (this is expected to break very few setups, if any) [#118](https://github.com/elixir-lsp/elixir-ls/pull/118)

### v0.2.28: 16 Nov 2019

- Fix debugger tasks not continuing to run on Elixir 1.9 (thanks to [joshua-andrassy](https://github.com/joshua-andrassy) for doing the legwork)
Expand Down
2 changes: 1 addition & 1 deletion apps/elixir_ls_utils/priv/debugger.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
#!/usr/bin/env bash
# Launches the debugger. This script must be in the same directory as the compiled .ez archives.

[ -f "$HOME/.asdf/asdf.sh" ] && . "$HOME/.asdf/asdf.sh"
Expand Down
2 changes: 1 addition & 1 deletion apps/elixir_ls_utils/priv/language_server.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
#!/usr/bin/env bash
# Launches the language server. This script must be in the same directory as the compiled .ez archives.

[ -f "$HOME/.asdf/asdf.sh" ] && . "$HOME/.asdf/asdf.sh"
Expand Down

0 comments on commit 8cdc13e

Please sign in to comment.