[releng] buildbranched/rawhide: Fix send_fedmsg arguments

Till Maas till at fedoraproject.org
Tue Sep 30 15:06:02 UTC 2014


commit 3d7f371d3efedef03fffe960ba01e8e4f40fcf08
Author: Till Maas <opensource at till.name>
Date:   Tue Sep 30 17:05:32 2014 +0200

    buildbranched/rawhide: Fix send_fedmsg arguments

 scripts/buildbranched |    4 ++--
 scripts/buildrawhide  |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/scripts/buildbranched b/scripts/buildbranched
index 2572311..1ae9865 100755
--- a/scripts/buildbranched
+++ b/scripts/buildbranched
@@ -66,8 +66,8 @@ function log()
 
 function send_fedmsg()
 {
-	topic="${1}"
-	log="${2}"
+	log="${1}"
+	topic="${2}"
 	# Emit a message using bodhi's cert (since we should be running as "masher").
 	echo "{\"log\": \"${log}\", \"branch\": \"$BRANCHED\", \"arch\": \"$ARCH\"}" | fedmsg-logger \
 		--cert-prefix bodhi \
diff --git a/scripts/buildrawhide b/scripts/buildrawhide
index f2197ca..11fc9d9 100755
--- a/scripts/buildrawhide
+++ b/scripts/buildrawhide
@@ -66,8 +66,8 @@ function log()
 
 function send_fedmsg()
 {
-	topic="${1}"
-	log="${2}"
+	log="${1}"
+	topic="${2}"
 	# Emit a message using bodhi's cert (since we should be running as "masher").
 	echo "{\"log\": \"${log}\", \"branch\": \"$BRANCHED\", \"arch\": \"$ARCH\"}" | fedmsg-logger \
 		--cert-prefix bodhi \


More information about the rel-eng mailing list