aboutsummaryrefslogtreecommitdiff
path: root/installer/install-cobol-language-support.sh
diff options
context:
space:
mode:
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