aboutsummaryrefslogtreecommitdiff
path: root/installer/install-fsharp-language-server.sh
diff options
context:
space:
mode:
authornyarla <nyarla@thotep.net>2020-01-30 13:26:48 +0900
committernyarla <nyarla@thotep.net>2020-01-30 13:26:48 +0900
commit36c0295cf7b6301d13682a2b6ec70904ead091bd (patch)
tree2d46abce0fa24c9404e01c7ee6308f01d516ed00 /installer/install-fsharp-language-server.sh
parent9a95bf72eca2c0da2585a7fb3b4361ba230e425f (diff)
downloadvim-lsp-settings-36c0295cf7b6301d13682a2b6ec70904ead091bd.tar.gz
vim-lsp-settings-36c0295cf7b6301d13682a2b6ec70904ead091bd.tar.bz2
vim-lsp-settings-36c0295cf7b6301d13682a2b6ec70904ead091bd.zip
fix: Fix bash throws bad interpreter error by fix commit about #126
Diffstat (limited to 'installer/install-fsharp-language-server.sh')
-rwxr-xr-xinstaller/install-fsharp-language-server.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/installer/install-fsharp-language-server.sh b/installer/install-fsharp-language-server.sh
index 26be8f9..fb606e0 100755
--- a/installer/install-fsharp-language-server.sh
+++ b/installer/install-fsharp-language-server.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
set -e
@@ -7,7 +7,7 @@ npm install
dotnet build -c Release
cat <<EOF > fsharp-language-server
-#!/bin/sh
+#!/usr/bin/env bash
DIR=\$(cd \$(dirname \$0); pwd)
\$DIR/src/FSharpLanguageServer/bin/Release/netcoreapp2.0/FSharpLanguageServer.dll \$*