From 464b9c3266ab23de27f740b9b30a75fd57bb3243 Mon Sep 17 00:00:00 2001 From: Duy Dang Date: Mon, 21 Jan 2019 10:16:30 +0700 Subject: rcar-gen3: gles-user-module: Fix wrong condition The condition "if [ ]" always returns true, because it checks for non-empty string. Fix it by removing the brackets. Change-Id: Ib9fe24e6a8ef3f93e9ed17d118775b54765ae5bb Signed-off-by: Duy Dang Signed-off-by: Khang Nguyen Signed-off-by: Takamitsu Honda (cherry picked from commit 5df4c994040171bd7bf13c625b1fef295d1e9c9c) --- meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-rcar-gen3/recipes-graphics') diff --git a/meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module.bb b/meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module.bb index ba425b9..29f25c9 100644 --- a/meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module.bb +++ b/meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module.bb @@ -80,7 +80,7 @@ do_install() { fi # Install systemd service - if [ ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)} ]; then + if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)} ; then install -d ${D}${systemd_system_unitdir}/ install -m 644 ${WORKDIR}/rc.pvr.service ${D}${systemd_system_unitdir}/ install -d ${D}${exec_prefix}/bin -- cgit 1.2.3-korg