diff options
-rwxr-xr-x | bin/update | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 |