summaryrefslogtreecommitdiff
path: root/update-repos
blob: bfd3ec60f61c6feedada2dece6137738558bf3c3 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

base_dir=$(dirname "$(readlink -f "$0")")

find "${base_dir}/work/repositories" \
  -mindepth 1 \
  -maxdepth 1 \
  -type d \
  -exec git -C {} remote update \;