aboutsummaryrefslogtreecommitdiff
path: root/installer/install-cobol-language-support.sh
diff options
context:
space:
mode:
Diffstat (limited to 'installer/install-cobol-language-support.sh')
-rwxr-xr-xinstaller/install-cobol-language-support.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/installer/install-cobol-language-support.sh b/installer/install-cobol-language-support.sh
index 6534e7d..e7a5abc 100755
--- a/installer/install-cobol-language-support.sh
+++ b/installer/install-cobol-language-support.sh
@@ -4,8 +4,10 @@ set -e
version="0.9.1"
url="https://github.com/eclipse/che-che4z-lsp-for-cobol/releases/download/$version/cobol-language-support-$version.vsix"
-curl -LO "$url"
-unzip "cobol-language-support-$version.vsix"
+filename="cobol-language-support-$version.vsix"
+curl -L "$url" -o "$filename"
+unzip "$filename"
+rm "$filename"
cat <<EOF >./cobol-language-support
#!/usr/bin/env bash