From 556739df4c5a88b4f7002fb05e3ad2e261625550 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Dec 07 2015 15:01:29 +0000 Subject: Merge #57 `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)