1
0
Fork 0
forked from ahurac/dotfiles

updateall : ajustement script update git

This commit is contained in:
Ahurac 2023-12-09 13:36:19 +01:00
parent 80c20a3404
commit cfeb1d35cf

View file

@ -1,4 +1,4 @@
#!/bin/sh -ex
#!/bin/sh -x
if [ -z "$SSH_AGENT_PID" ]; then
exec ssh-agent "$0" "$@"
@ -12,9 +12,9 @@ update_repo() {
git pull
}
cd ~/git
cd ~/git || exit
set +ex
set +x
for i in *; do
while [ "$(jobs -p | wc -l)" -ge 4 ]; do
sleep 1