Selaa lähdekoodia

Fix directory/YouCompleteMe compilation.

bsofdth 12 vuotta sitten
vanhempi
commit
c7d7331d17
1 muutettua tiedostoa jossa 4 lisäystä ja 2 poistoa
  1. 4 2
      UpdateVimPlugins

+ 4 - 2
UpdateVimPlugins

@@ -1,10 +1,12 @@
 #!/bin/bash
 
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+
 git submodule foreach git pull origin master
 
 echo "Compiling YouCompleteMe"
 cd "$DIR"/vim/bundle/YouCompleteMe
-./install.sh --clang-completer
+./install.sh
 
 read -p "Auto install exuberant-ctags? [y/N] " -n 1 -r
 if [[ $REPLY =~ ^[Yy]$ ]]; then
@@ -16,4 +18,4 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then
     sudo make install
     rm -r ~/exuberant-ctags
 fi
-echo ""
+echo ""