aboutsummaryrefslogtreecommitdiff
path: root/installer/install-analysis-server-dart-snapshot.sh
diff options
context:
space:
mode:
authornyarla <nyarla@thotep.net>2020-01-30 13:26:48 +0900
committernyarla <nyarla@thotep.net>2020-01-30 13:26:48 +0900
commit36c0295cf7b6301d13682a2b6ec70904ead091bd (patch)
tree2d46abce0fa24c9404e01c7ee6308f01d516ed00 /installer/install-analysis-server-dart-snapshot.sh
parent9a95bf72eca2c0da2585a7fb3b4361ba230e425f (diff)
downloadvim-lsp-settings-36c0295cf7b6301d13682a2b6ec70904ead091bd.tar.gz
vim-lsp-settings-36c0295cf7b6301d13682a2b6ec70904ead091bd.tar.bz2
vim-lsp-settings-36c0295cf7b6301d13682a2b6ec70904ead091bd.zip
fix: Fix bash throws bad interpreter error by fix commit about #126
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 \$*