From 22c57660092c1497116c5344412cda916ecdaaa8 Mon Sep 17 00:00:00 2001 From: Ahurac Date: Fri, 8 Dec 2023 10:36:05 +0100 Subject: [PATCH] updateall : script update git ssh-agent --- config/updateall/scripts/70-git | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/config/updateall/scripts/70-git b/config/updateall/scripts/70-git index 56502b6..1a1dce6 100755 --- a/config/updateall/scripts/70-git +++ b/config/updateall/scripts/70-git @@ -1,4 +1,6 @@ -#!/bin/sh +#!/bin/sh -ex + +ssh-add update_repo() { cd "$1" || return @@ -6,8 +8,9 @@ update_repo() { git pull } -cd ~/git || exit +cd ~/git +set +ex for i in *; do while [ "$(jobs -p | wc -l)" -ge 4 ]; do sleep 1