Unverified Commit 4125ec54 authored by Chris Lamb's avatar Chris Lamb 💬 Committed by Holger Levsen

reproducible Debian: Avoid DRY violation by using a for loop.

Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent 03361fc4
......@@ -790,8 +790,10 @@ share_buildinfo() {
log_info "Done submitting .buildinfo files to submit@buildinfo.kfreebsd.eu."
# buildinfo.debian.net administred by Chris Lamb <lamby@debian.org>
curl -s -X PUT --max-time 30 --data-binary @- "http://buildinfo.debian.net/api/submit" < ./b1/$BUILDINFO_SIGNED || log_error "Could not submit buildinfo from $NODE1 to http://buildinfo.debian.net/api/submit"
curl -s -X PUT --max-time 30 --data-binary @- "http://buildinfo.debian.net/api/submit" < ./b2/$BUILDINFO_SIGNED || log_error "Could not submit buildinfo from $NODE2 to http://buildinfo.debian.net/api/submit"
for X in b1 b2
do
curl -s -X PUT --max-time 30 --data-binary @- "http://buildinfo.debian.net/api/submit" < ./${X}/$BUILDINFO_SIGNED || log_error "Could not submit buildinfo from ${X} to http://buildinfo.debian.net/api/submit"
done
log_info "Done submitting .buildinfo files to http://buildinfo.debian.net/api/submit."
log_info "Done submitting .buildinfo files."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment