Remove extra commas from rsync messages
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ář <lsedlar@redhat.com>
This commit is contained in:
parent
72c29d9af8
commit
d9988da721
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user