git.annexia.org
/
fedora-ocaml-rebuild.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ffe298
)
Fix for koji buildinfo.
author
Richard W.M. Jones
<rjones@redhat.com>
Tue, 7 Jan 2020 13:18:06 +0000
(13:18 +0000)
committer
Richard W.M. Jones
<rjones@redhat.com>
Tue, 7 Jan 2020 13:18:06 +0000
(13:18 +0000)
Goalfile
patch
|
blob
|
history
diff --git
a/Goalfile
b/Goalfile
index
de5d406
..
0d94149
100644
(file)
--- 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