From da709cd9e90c3ab644bb92700f0ed40d965b80d3 Mon Sep 17 00:00:00 2001 From: Anton Bobov Date: Thu, 13 Oct 2011 11:17:19 +0600 Subject: Initial commit. --- files/.vim/bundle/update.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 files/.vim/bundle/update.sh (limited to 'files/.vim/bundle/update.sh') diff --git a/files/.vim/bundle/update.sh b/files/.vim/bundle/update.sh new file mode 100755 index 0000000..c8cb034 --- /dev/null +++ b/files/.vim/bundle/update.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +oldcwd=$(pwd) + +cd "$(dirname "$0")" +for submodule in * +do + if [ -d "$submodule/.git" ] + then + cd "$submodule" + echo "--- $submodule:" + git pull + cd .. + fi +done +cd "$oldcwd" -- cgit v1.2.3