From 6b5ce5bb90c4652bd5b2dab6169be0cb0b7fe5ff Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 7 Jan 2020 13:18:06 +0000 Subject: [PATCH] Fix for koji buildinfo. --- Goalfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Goalfile b/Goalfile index de5d406..0d94149 100644 --- a/Goalfile +++ b/Goalfile @@ -59,8 +59,9 @@ tactic *built-in-koji (pkg) = { grep -sq %rebuild-name $specfile || exit 99 # Else we must check Koji itself. + # Koji sends some messages to stderr. nvr=$(fedpkg verrel) - buildinfo=$($koji buildinfo $nvr) + buildinfo=$($koji buildinfo $nvr 2>&1) # No build at all, needs rebuild. echo "$buildinfo" | grep -sq "No such build" && exit 99 -- 1.8.3.1