aboutsummaryrefslogtreecommitdiff
path: root/mirror_update.sh
blob: 3e082dac3cd770bc968c51b8e5b9fbc7d0254d65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

# fetch mirrors

[ ! -d "$1" ] && exit 1

ROOTDIR=$(realpath "$1")

for dir in $ROOTDIR/*; do
	echo $dir
	git -C "$dir" fetch --all
done