aboutsummaryrefslogtreecommitdiff
path: root/installer/install-eclipse-jdt-ls.sh
diff options
context:
space:
mode:
Diffstat (limited to 'installer/install-eclipse-jdt-ls.sh')
-rwxr-xr-xinstaller/install-eclipse-jdt-ls.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/installer/install-eclipse-jdt-ls.sh b/installer/install-eclipse-jdt-ls.sh
index fee18e6..7a99874 100755
--- a/installer/install-eclipse-jdt-ls.sh
+++ b/installer/install-eclipse-jdt-ls.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
set -e
@@ -8,7 +8,7 @@ tar xvf jdt-language-server-latest.tar.gz
rm jdt-language-server-latest.tar.gz
cat <<EOF > eclipse-jdt-ls
-#!/bin/sh
+#!/usr/bin/env bash
DIR=\$(cd \$(dirname \$0); pwd)
LAUNCHER=\$(ls \$DIR/plugins/org.eclipse.equinox.launcher_*.jar)