From 3ae251c2124976121c77dcc3d1d79c6cf4a40a9f Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 7 Jan 2020 13:51:18 +0000 Subject: [PATCH] Fix koji wait-repo command. --- Goalfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 1.8.3.1