test
This commit is contained in:
parent
3da75f299d
commit
ef43d3c214
@ -28,10 +28,10 @@ do
|
|||||||
update_apps "${array[$it]}" &
|
update_apps "${array[$it]}" &
|
||||||
processes+=($!)
|
processes+=($!)
|
||||||
((it++))
|
((it++))
|
||||||
elif [[ ${#processes[@]} == 0 ]]; then
|
elif [[ ${#processes[@]} != 0 ]]; then # Wait for all processes to finish
|
||||||
break
|
|
||||||
else
|
|
||||||
sleep 3
|
sleep 3
|
||||||
|
else
|
||||||
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
rm temp.txt
|
rm temp.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user