1
0
Fork 0
forked from ahurac/dotfiles

updateall : script update git ssh-agent

This commit is contained in:
Ahurac 2023-12-08 10:36:05 +01:00
parent 90940fb3a4
commit 22c5766009

View file

@ -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