Explorar o código

force git submodule updates

Andrew Swistak %!s(int64=10) %!d(string=hai) anos
pai
achega
31c330fb9b
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      bin/manage_dotfiles.sh

+ 3 - 2
bin/manage_dotfiles.sh

@@ -66,14 +66,15 @@ install_dotfiles() {
 }
 
 update_git_submodules() {
-  git submodule update --init --recursive
+  git submodule foreach --recursive git reset --hard origin/master
   git submodule foreach --recursive git pull origin master
+  git submodule foreach git submodule update --init --recursive
 }
 
 compile_ycm() {
   echo "Compiling YouCompleteMe"
   cd "$DIR"/vim/bundle/YouCompleteMe
-  ./install.sh
+  python2 ./install.py
   cd "$DIR"
 }