diff options
author | EuAndreh <eu@euandre.org> | 2022-10-28 11:17:57 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-10-28 11:17:57 -0300 |
commit | c0046808aca89e6237fee7768413abaf519a00f3 (patch) | |
tree | 047d6152d40a2d5ca6bc4f25fd4349bae655878f | |
parent | bin/update: Run vcs fetch in parallel (4) (diff) | |
download | dotfiles-c0046808aca89e6237fee7768413abaf519a00f3.tar.gz dotfiles-c0046808aca89e6237fee7768413abaf519a00f3.tar.xz |
bin/update: Try to make the execution line of the vcs fetch more readable
-rwxr-xr-x | bin/update | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 % |