aboutsummaryrefslogtreecommitdiff
path: root/installer/install-clangd.sh
diff options
context:
space:
mode:
authorThomas Faingnaert <thomas.faingnaert@hotmail.com>2019-12-29 00:20:26 +0100
committerThomas Faingnaert <thomas.faingnaert@hotmail.com>2019-12-29 00:20:38 +0100
commitac0ae5d7ab8144890afd4af6cc884daa2524f72b (patch)
tree060325686ef2243b2771384e1a1491418256ed1d /installer/install-clangd.sh
parent29441d4b8c916758b1824d39ea743935ae8909f6 (diff)
downloadvim-lsp-settings-ac0ae5d7ab8144890afd4af6cc884daa2524f72b.tar.gz
vim-lsp-settings-ac0ae5d7ab8144890afd4af6cc884daa2524f72b.tar.bz2
vim-lsp-settings-ac0ae5d7ab8144890afd4af6cc884daa2524f72b.zip
Change Linux installer
Diffstat (limited to 'installer/install-clangd.sh')
-rwxr-xr-xinstaller/install-clangd.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/installer/install-clangd.sh b/installer/install-clangd.sh
index 0c47461..d652736 100755
--- a/installer/install-clangd.sh
+++ b/installer/install-clangd.sh
@@ -33,6 +33,7 @@ url="http://releases.llvm.org/9.0.0/$filename.tar.xz"
echo "Downloading clangd and LLVM..."
curl -LO "$url"
echo "Extracting archive..."
-tar xvf $filename.tar.xz --strip-components=2 $filename/bin/clangd
-rm -fr clang+llvm-9.0.0*
+tar xvf $filename.tar.xz --strip-components=1 $filename/
+rm $filename.tar.xz
+ln -sf bin/clangd
./clangd --version