aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/update9
1 files changed, 7 insertions, 2 deletions
diff --git a/bin/update b/bin/update
index 7ec5bd8..9eda076 100755
--- a/bin/update
+++ b/bin/update
@@ -76,5 +76,10 @@ wait
rfc -u
newsboat -x reload
-# FIXME
-# mr -j "$N_PROC" fetch # git pull for all repos under ~/dev/
+repos -e ~/dev/go/ -e ~/dev/quicklisp/ -e ~/dev/archive/ ~/dev/ |
+ while read -r line; do
+ TYPE="$(echo "$line" | cut -d: -f1)"
+ DIR="$( echo "$line" | cut -d: -f2-)"
+ cd "$DIR"
+ vcs "$TYPE" fetch || printf 'Failed to fetch repository: %s.\n' "$DIR" >&2
+ done