aboutsummaryrefslogtreecommitdiff
path: root/installer/install-cobol-language-support.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-cobol-language-support.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-cobol-language-support.sh')
-rwxr-xr-xinstaller/install-cobol-language-support.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/installer/install-cobol-language-support.sh b/installer/install-cobol-language-support.sh
index a4c209a..6534e7d 100755
--- a/installer/install-cobol-language-support.sh
+++ b/installer/install-cobol-language-support.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
set -e
@@ -8,7 +8,7 @@ curl -LO "$url"
unzip "cobol-language-support-$version.vsix"
cat <<EOF >./cobol-language-support
-#!/bin/sh
+#!/usr/bin/env bash
DIR=\$(cd \$(dirname \$0); pwd)
java "-Dline.speparator=\r\n" -jar "\$DIR/extension/server/lsp-service-cobol-$version.jar" pipeEnabled
EOF