From: Ross Burton Date: Mon, 12 Feb 2024 17:44:56 +0000 (+0000) Subject: libpam: remove redundant PTEST_ENABLED conditional X-Git-Tag: uninative-4.4~145 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f9d0f331ce5b5292117b3d8c23f747a369cfde6;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git libpam: remove redundant PTEST_ENABLED conditional do_install_ptest is only called if ptest is enabled, so don't guard it again. Signed-off-by: Ross Burton --- diff --git a/meta/recipes-extended/pam/libpam_1.5.3.bb b/meta/recipes-extended/pam/libpam_1.5.3.bb index 809d927f55b..4dd98906064 100644 --- a/meta/recipes-extended/pam/libpam_1.5.3.bb +++ b/meta/recipes-extended/pam/libpam_1.5.3.bb @@ -163,11 +163,9 @@ do_install() { } do_install_ptest() { - if [ ${PTEST_ENABLED} = "1" ]; then - mkdir -p ${D}${PTEST_PATH}/tests - install -m 0755 ${B}/tests/.libs/* ${D}${PTEST_PATH}/tests - install -m 0644 ${S}/tests/confdir ${D}${PTEST_PATH}/tests - fi + mkdir -p ${D}${PTEST_PATH}/tests + install -m 0755 ${B}/tests/.libs/* ${D}${PTEST_PATH}/tests + install -m 0644 ${S}/tests/confdir ${D}${PTEST_PATH}/tests } pkg_postinst:${PN}() {