blob: c8cb034bdf09231a6dd0fa4da2db5781d3f2f273 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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"
|