From a529f0d6aebec229516ce849863bb8c3a3f998d1 Mon Sep 17 00:00:00 2001 From: Mitsuo Heijo Date: Fri, 31 Jan 2020 00:06:49 +0900 Subject: fix shellcheck issues, format bash scripts with shfmt --- installer/install-fsautocomplete.sh | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'installer/install-fsautocomplete.sh') diff --git a/installer/install-fsautocomplete.sh b/installer/install-fsautocomplete.sh index e19d2e8..43827a4 100755 --- a/installer/install-fsautocomplete.sh +++ b/installer/install-fsautocomplete.sh @@ -3,19 +3,20 @@ set -e if command -v dotnet >/dev/null 2>&1; then - echo "dotnet installed" - dotnetcmd=dotnet + echo "dotnet installed" + dotnetcmd=dotnet else - echo "dotnet not found, installing..." - # REF https://github.com/neovim/nvim-lsp/blob/master/lua/nvim_lsp/pyls_ms.lua - curl -L https://dot.net/v1/dotnet-install.sh | bash -s -- -i "./.dotnet" - dotnetcmd="\\$DIR/.dotnet/dotnet" + echo "dotnet not found, installing..." + # REF https://github.com/neovim/nvim-lsp/blob/master/lua/nvim_lsp/pyls_ms.lua + curl -L https://dot.net/v1/dotnet-install.sh | bash -s -- -i "./.dotnet" + dotnetcmd="\\$DIR/.dotnet/dotnet" fi url="https://ci.appveyor.com/api/projects/fsautocomplete/fsautocomplete/artifacts/bin/pkgs/fsautocomplete.netcore.zip?branch=master" zip=fsautocomplete.zip curl -L "$url" -o "$zip" -unzip -o -d "fsautocomplete.netcore" "$zip" +unzip -o -d "fsautocomplete.netcore" "$zip" +rm "$zip" cat <fsautocomplete #!/bin/sh -- cgit v1.2.3-54-g00ecf