aboutsummaryrefslogtreecommitdiff
path: root/installer/install-analysis-server-dart-snapshot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'installer/install-analysis-server-dart-snapshot.sh')
-rwxr-xr-xinstaller/install-analysis-server-dart-snapshot.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/installer/install-analysis-server-dart-snapshot.sh b/installer/install-analysis-server-dart-snapshot.sh
index c38c29d..59ae196 100755
--- a/installer/install-analysis-server-dart-snapshot.sh
+++ b/installer/install-analysis-server-dart-snapshot.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
set -e
@@ -7,7 +7,7 @@ unzip "dartsdk-linux-x64-release.zip"
rm "dartsdk-linux-x64-release.zip"
cat <<EOF > analysis-server-dart-snapshot
-#!/bin/sh
+#!/usr/bin/env bash
DIR=\$(cd \$(dirname \$0); pwd)
\$DIR/bin/dart \$DIR/bin/snapshots/analysis_server.dart.snapshot --lsp \$*