From: Richard W.M. Jones Date: Tue, 7 Jan 2020 13:18:06 +0000 (+0000) Subject: Fix for koji buildinfo. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=6b5ce5bb90c4652bd5b2dab6169be0cb0b7fe5ff;hp=9ffe2984f208c565b4adccdd8ea63a689bdd2d1b;p=fedora-ocaml-rebuild.git Fix for koji buildinfo. --- 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