From d9988da72152b45b024e8247b28e94bf641b043a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Thu, 4 Nov 2021 16:01:21 +0100 Subject: [PATCH] Remove extra commas from rsync messages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The compose ID and some paths have an extra bogus comma at the end. That makes it difficult to consume the message. Signed-off-by: Lubomír Sedlář --- nightly.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nightly.sh b/nightly.sh index 0841341..8620612 100755 --- a/nightly.sh +++ b/nightly.sh @@ -82,7 +82,7 @@ ALT_LOCATION="https://dl.fedoraproject.org$RSYNCALTTARGET" SECONDARY_LOCATION="https://dl.fedoraproject.org$RSYNCSECTARGET" # Update fedora_message template fedora_message_json_start=$(printf '{"log": "start", "branch": "%s", "arch": "%s", "short": "%s", "compose_id": "%s", "location": "%s", "alt_location": "%s", "secondary_location": "%s"}' "$RELEASE" "$ARCH" "$SHORT" "$NEWCOMPOSE_ID", "$LOCATION", "$ALT_LOCATION", "$SECONDARY_LOCATION") -fedora_message_json_done=$(printf '{"log": "done", "branch": "%s", "arch": "%s", "short": "%s", "compose_id": "%s", "location": "%s", "alt_location": "%s", "secondary_location": "%s"}' "$RELEASE" "$ARCH" "$SHORT" "$NEWCOMPOSE_ID", "$LOCATION", "$ALT_LOCATION", "$SECONDARY_LOCATION") +fedora_message_json_done=$(printf '{"log": "done", "branch": "%s", "arch": "%s", "short": "%s", "compose_id": "%s", "location": "%s", "alt_location": "%s", "secondary_location": "%s"}' "$RELEASE" "$ARCH" "$SHORT" "$NEWCOMPOSE_ID" "$LOCATION" "$ALT_LOCATION" "$SECONDARY_LOCATION") # Fix permissions on the grub efi files and fonts (they're 0600) chmod -R go+r $DESTDIR/compose/*/*/os/EFI/