diff options
Diffstat (limited to 'installer/install-omnisharp-lsp.sh')
-rwxr-xr-x | installer/install-omnisharp-lsp.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/installer/install-omnisharp-lsp.sh b/installer/install-omnisharp-lsp.sh index 5261293..df1d574 100755 --- a/installer/install-omnisharp-lsp.sh +++ b/installer/install-omnisharp-lsp.sh @@ -19,13 +19,11 @@ esac version="v1.34.9" url="https://github.com/OmniSharp/omnisharp-roslyn/releases/download/$version/omnisharp-$os$arch.tar.gz" -curl -LO "$url" -tar xzvf omnisharp-$os$arch.tar.gz -rm omnisharp-$os$arch.tar.gz +curl -L "$url" | tar xz chmod +x run -cat <<EOF > omnisharp-lsp +cat <<EOF >omnisharp-lsp #!/usr/bin/env bash DIR=\$(cd \$(dirname \$0); pwd) |