#59 Fourth try. Fix quoting. Tested in staging.
Merged 8 years ago by ausil. Opened 8 years ago by ralph.
ralph/releng master  into  master

file modified
+2 -2
@@ -19,7 +19,7 @@ 

  #           source ./scripts/fedmsg-functions.sh

  #

  #           fedmsg_json_start=$(printf '{"log": "start", "branch": "f24", "arch": "x86_64"}')

- #           send_fedmsg ${fedmsg_json_start} f24 start

+ #           send_fedmsg "${fedmsg_json_start}" f24 start

  

  function send_fedmsg()

  {
@@ -27,7 +27,7 @@ 

      dist="${2}"

      topic="${3}"

  

-     printf ${jsoninput} | fedmsg-logger \

+     echo ${jsoninput} | fedmsg-logger \

          --cert-prefix ${FEDMSG_CERTPREFIX} \

          --modname ${FEDMSG_MODNAME} \

          --topic "${dist}.${topic}" \

no initial comment
Metadata