aboutsummaryrefslogtreecommitdiff
path: root/installer/install-lsp4xml.sh
diff options
context:
space:
mode:
Diffstat (limited to 'installer/install-lsp4xml.sh')
-rwxr-xr-xinstaller/install-lsp4xml.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/installer/install-lsp4xml.sh b/installer/install-lsp4xml.sh
index 5cab50c..891e54c 100755
--- a/installer/install-lsp4xml.sh
+++ b/installer/install-lsp4xml.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
set -e
@@ -8,7 +8,7 @@ url=https://dl.bintray.com/lsp4xml/releases/org/lsp4xml/org.eclipse.lsp4xml/${ve
curl -LO "$url"
cat <<EOF >lsp4xml
-#!/bin/sh
+#!/usr/bin/env bash
DIR=\$(cd \$(dirname \$0); pwd)
java -jar \$DIR/org.eclipse.lsp4xml-${version}-uber.jar