diff --git a/scripts/update-src b/scripts/update-src index 6362845..830421c 100755 --- a/scripts/update-src +++ b/scripts/update-src @@ -1,6 +1,14 @@ #!/usr/bin/env rc +background=() for(repo in `{cat downstream}) { echo Updating $repo - git -C $repo fetch --all + git -C $repo fetch --all & + background=($apid $background) } + +for (i in $background) { + wait $i +} + +echo Done!