From: Richard W.M. Jones Date: Tue, 7 Jan 2020 13:51:18 +0000 (+0000) Subject: Fix koji wait-repo command. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=3ae251c2124976121c77dcc3d1d79c6cf4a40a9f;hp=6b5ce5bb90c4652bd5b2dab6169be0cb0b7fe5ff;p=fedora-ocaml-rebuild.git Fix koji wait-repo command. --- diff --git a/Goalfile b/Goalfile index 0d94149..0898431 100644 --- a/Goalfile +++ b/Goalfile @@ -98,8 +98,9 @@ goal rebuild (pkg) = # We have to wait for the dependencies to become available # before we can start the new build. - for p in $($koji latest-build %< | awk '{print $1}'); do - $koji --quiet wait-repo side-tag + for p in %<; do + nvr=$($koji --quiet latest-build %side-tag $p | awk '{print $1}') + $koji wait-repo %side-tag $nvr done # If the specfile doesn't have the magic string then add