summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAudric Schiltknecht <storm@chemicalstorm.org>2017-01-07 11:20:56 -0500
committerAudric Schiltknecht <storm@chemicalstorm.org>2017-01-07 11:20:56 -0500
commit7e98101a9be119cd2c3b20329660c26bb5919def (patch)
tree49752c8813351b634247b14d2f31856e9d2a8d06
parent004222ebc86aa2a5670e7d99719cc0277251fec9 (diff)
downloaddotfiles-7e98101a9be119cd2c3b20329660c26bb5919def.tar.gz
dotfiles-7e98101a9be119cd2c3b20329660c26bb5919def.tar.bz2
dotfiles-7e98101a9be119cd2c3b20329660c26bb5919def.zip
Move vim/update-plugins to root as it deals with submodules
Script is not vim-specific, so move it to the root.
-rwxr-xr-xupdate-submodules.sh (renamed from vim/update-plugins.sh)3
1 files changed, 2 insertions, 1 deletions
diff --git a/vim/update-plugins.sh b/update-submodules.sh
index f4d2767..4fbb9d2 100755
--- a/vim/update-plugins.sh
+++ b/update-submodules.sh
@@ -1,6 +1,7 @@
#!/bin/bash
# updates all known submodules
+cd `dirname $0`
-cd `dirname $0`/..
+git submodule foreach git checkout master
git submodule foreach git pull