aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/update7
1 files changed, 5 insertions, 2 deletions
diff --git a/bin/update b/bin/update
index 0d095c1..87b1089 100755
--- a/bin/update
+++ b/bin/update
@@ -76,6 +76,9 @@ wait
rfc -u
newsboat -x reload
+warn() {
+ echo "WARNING: Failed to fetch repository: $1." >&2
+}
+
repos -e ~/dev/go/ -e ~/dev/quicklisp/ -e ~/dev/archive/ ~/dev/ |
- xargs -I% -P4 x \
- vcs -C% fetch OR echo 'WARNING: Failed to fetch repository: %.' >&2
+ xargs -I% -P4 x vcs -C% fetch OR warn %