3 # Update all git repositories to the latest available changes. This should be
4 # run on remote servers after new commits where pushed to them.
8 for path in `find . -name .git -type d`; do
11 # Merge all branches into master if it's checked out. Then run ./setup.sh
12 # to make sure all configuration files get updated.
13 if `git branch | grep *\ master > /dev/null`; then
15 for branch in `git branch -a | grep remotes`; do
16 echo " merging: $branch"
19 echo " running ./setup.sh"
20 ./setup.sh > /dev/null || exit 1