git.annexia.org
/
goals.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
stdlib/fedora: Check result from koji latest-build to avoid infinite loop
[goals.git]
/
stdlib
/
fedora.gl
diff --git
a/stdlib/fedora.gl
b/stdlib/fedora.gl
index
3a8fa42
..
0f6b1fa
100644
(file)
--- a/
stdlib/fedora.gl
+++ b/
stdlib/fedora.gl
@@
-118,6
+118,7
@@
is-koji-built ("%pkg") :
# before we can start the new build.
for p in %<; do
nvr=$(koji --quiet latest-build %fedora-tag $p | awk '{print $1}')
+ test -n "$nvr" || exit 1
while ! koji wait-repo --timeout=10000 %fedora-tag --build=$nvr; do sleep 1m; done
done