aboutsummaryrefslogtreecommitdiff
path: root/installer/install-cobol-language-support.sh
diff options
context:
space:
mode:
authorMitsuo Heijo <mitsuo.heijo@gmail.com>2020-01-31 00:06:49 +0900
committerMitsuo Heijo <mitsuo.heijo@gmail.com>2020-01-31 00:06:49 +0900
commita529f0d6aebec229516ce849863bb8c3a3f998d1 (patch)
tree65fc7a7e06f9447ff692c679082ebc77e3f1e098 /installer/install-cobol-language-support.sh
parent4da303693f43c6b97bbb43db9ca81a7f4c4c150b (diff)
downloadvim-lsp-settings-a529f0d6aebec229516ce849863bb8c3a3f998d1.tar.gz
vim-lsp-settings-a529f0d6aebec229516ce849863bb8c3a3f998d1.tar.bz2
vim-lsp-settings-a529f0d6aebec229516ce849863bb8c3a3f998d1.zip
fix shellcheck issues, format bash scripts with shfmt
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