From c2646f2fb304c2a09f21e4bbb9f350d2cfb40d2a Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Dec 07 2015 05:25:10 +0000 Subject: Try to fix arguments to this new send_fedmsg function. --- diff --git a/scripts/build-functions.sh b/scripts/build-functions.sh index ed7c01c..654a444 100644 --- a/scripts/build-functions.sh +++ b/scripts/build-functions.sh @@ -55,8 +55,8 @@ function log() echo "$(date --utc) build${DIST}: ${message}" | tee -a "${logfile}" >&2 } -fedmsg_json_start=$(printf '{"log": "start", "branch": "%s", "arch": "%s"}' "$BRANCHED" "$ARCH") -fedmsg_json_done=$(printf '{"log": "done", "branch": "%s", "arch": "%s"}' "$BRANCHED" "$ARCH") +fedmsg_json_start=\'$(printf '{"log": "start", "branch": "%s", "arch": "%s"}' "$BRANCHED" "$ARCH")\' +fedmsg_json_done=\'$(printf '{"log": "done", "branch": "%s", "arch": "%s"}' "$BRANCHED" "$ARCH")\' FEDMSG_MODNAME="compose" FEDMSG_CERTPREFIX="bodhi" diff --git a/scripts/make-updates b/scripts/make-updates index fa381d8..7bd8a14 100755 --- a/scripts/make-updates +++ b/scripts/make-updates @@ -24,8 +24,8 @@ SHORTVERSION=$VERSION FEDMSG_MODNAME="compose" FEDMSG_CERTPREFIX="bodhi" -fedmsg_json_start=$(printf '{"log": "start", "branch": "%s"}' "${BRANCH}") -fedmsg_json_done=$(printf '{"log": "done", "branch": "%s"}' "${BRANCH}") +fedmsg_json_start=\'$(printf '{"log": "start", "branch": "%s"}' "${BRANCH}")\' +fedmsg_json_done=\'$(printf '{"log": "done", "branch": "%s"}' "${BRANCH}")\' . ./scripts/fedmsg-functions.sh FULLPATH=$(pwd)