a6bf748 Add the ability to wait for module builds to finish during mass rebuilds

Authored and Committed by mprahl 4 years ago
    Add the ability to wait for module builds to finish during mass rebuilds
    
    This is done by providing the `--wait` flag when running the script.
    
    This is needed as a work-around for the issue described in:
    https://pagure.io/releng/issue/8664
    
    Signed-off-by: mprahl <mprahl@redhat.com>