aboutsummaryrefslogtreecommitdiff
path: root/bin/update
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-10-28 11:16:05 -0300
committerEuAndreh <eu@euandre.org>2022-10-28 11:16:05 -0300
commit9a791ec26ba920965502372308fed166227802f3 (patch)
tree2fca8b52a1315052656276613ec99857a5118340 /bin/update
parentbin/update: Replace while block with xargs (diff)
downloaddotfiles-9a791ec26ba920965502372308fed166227802f3.tar.gz
dotfiles-9a791ec26ba920965502372308fed166227802f3.tar.xz
bin/update: Run vcs fetch in parallel (4)
Diffstat (limited to 'bin/update')
-rwxr-xr-xbin/update3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/update b/bin/update
index 97bf50b..0d095c1 100755
--- a/bin/update
+++ b/bin/update
@@ -77,4 +77,5 @@ rfc -u
newsboat -x reload
repos -e ~/dev/go/ -e ~/dev/quicklisp/ -e ~/dev/archive/ ~/dev/ |
- xargs -I% x vcs -C% fetch OR echo 'WARNING: Failed to fetch repository: %.' >&2
+ xargs -I% -P4 x \
+ vcs -C% fetch OR echo 'WARNING: Failed to fetch repository: %.' >&2