aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstaller/install-eclipse-jdt-ls.sh2
-rwxr-xr-xinstaller/install-kotlin-language-server.sh4
2 files changed, 5 insertions, 1 deletions
diff --git a/installer/install-eclipse-jdt-ls.sh b/installer/install-eclipse-jdt-ls.sh
index 44c63f2..ae9feaa 100755
--- a/installer/install-eclipse-jdt-ls.sh
+++ b/installer/install-eclipse-jdt-ls.sh
@@ -1,5 +1,7 @@
#!/bin/bash
+set -e
+
cd $(dirname $0)
[ -d ../servers/eclipse-jdt-ls ] && rm -rf ../servers/eclipse-jdt-ls
mkdir ../servers/eclipse-jdt-ls
diff --git a/installer/install-kotlin-language-server.sh b/installer/install-kotlin-language-server.sh
index 13afe72..ef91072 100755
--- a/installer/install-kotlin-language-server.sh
+++ b/installer/install-kotlin-language-server.sh
@@ -1,4 +1,6 @@
-#!/bin/sh
+#!/bin/bash
+
+set -e
cd $(dirname $0)
[ -d ../servers/kotlin-language-server ] && rm -rf ../servers/kotlin-language-server