Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
postprocess: Quote OSTREE_VERSION value
Use g_shell_quote to quote the value set for OSTREE_VERSION in /etc/os-release as this is an arbitrary string set at compose time that may contain whitespace or other special characters. This edge case was found in [0] as the compose are built with the following command: $ rpm-ostree compose tree \ --repo="repo" \ --cachedir="cache" \ --add-metadata-string="version=Kinoite 30.23" \ "fedora-kinoite.yaml" [0] https://discussion.fedoraproject.org/t/kinoite-a-kde-and-now-xfce-version-of-fedora-silverblue/147/95 Signed-off-by: Timothée Ravier <[email protected]> Closes: #1873 Approved by: jlebon
- Loading branch information