aboutsummaryrefslogtreecommitdiff
path: root/installer/install-groovy-language-server.sh
diff options
context:
space:
mode:
Diffstat (limited to 'installer/install-groovy-language-server.sh')
-rwxr-xr-xinstaller/install-groovy-language-server.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/installer/install-groovy-language-server.sh b/installer/install-groovy-language-server.sh
index f9674be..26c70be 100755
--- a/installer/install-groovy-language-server.sh
+++ b/installer/install-groovy-language-server.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
set -e
@@ -6,7 +6,7 @@ git clone --depth=1 https://github.com/prominic/groovy-language-server .
./gradlew build
cat <<EOF >groovy-language-server
-#!/bin/sh
+#!/usr/bin/env bash
DIR=\$(cd \$(dirname \$0); pwd)
java -jar \$DIR/build/libs/groovy-language-server-all.jar