lsb-release: fix Distro Codename shell escaping
PATCH 1/1 lsb-release: fix Distro Codename shell escaping
From: Sergei Zhmylev <[email protected]>
Signed-off-by Sergei Zhmylev <[email protected]>
--- meta/recipes-extended/lsb/lsb-release_1.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-extended/lsb/lsb-release_1.4.bb +1 -1
@@ -29,7 +29,7 @@ do_install() { echo "DISTRIB_ID=${DISTRO}" >> ${D}${sysconfdir}/lsb-release echo "DISTRIB_RELEASE=${DISTRO_VERSION}" >> ${D}${sysconfdir}/lsb-release if [ -n "${DISTRO_CODENAME}" ]; then - echo "DISTRIB_CODENAME=${DISTRO_CODENAME}" >> ${D}${sysconfdir}/lsb-release + echo "DISTRIB_CODENAME=\"${DISTRO_CODENAME}\"" >> ${D}${sysconfdir}/lsb-release fi echo "DISTRIB_DESCRIPTION=\"${DISTRO_NAME} ${DISTRO_VERSION}\"" >> ${D}${sysconfdir}/lsb-release }
Signature · 1 line
2.43.0