aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-10-28 15:06:43 -0300
committerEuAndreh <eu@euandre.org>2022-10-28 15:06:43 -0300
commitf9997545f9aca13dad128eb5506dd19e020f934d (patch)
tree76740eff465c9fe96b8cc906b04726db77a47c94
parentetc/guix/home.scm: Add "vdirsyncer" package (diff)
downloaddotfiles-f9997545f9aca13dad128eb5506dd19e020f934d.tar.gz
dotfiles-f9997545f9aca13dad128eb5506dd19e020f934d.tar.xz
Revert "bin/update: Try to make the execution line of the vcs fetch more readable"
This reverts commit c0046808aca89e6237fee7768413abaf519a00f3. The x(1) command doesn't find the warn() function: Can't exec "warn": Aucun fichier ou dossier de ce type at /home/andreh/.usr/bin/x line 107.
-rwxr-xr-xbin/update7
1 files changed, 2 insertions, 5 deletions
diff --git a/bin/update b/bin/update
index 87b1089..0d095c1 100755
--- a/bin/update
+++ b/bin/update
@@ -76,9 +76,6 @@ 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 warn %
+ xargs -I% -P4 x \
+ vcs -C% fetch OR echo 'WARNING: Failed to fetch repository: %.' >&2