[OE-core] [PATCH 04/30] sudo: use ${bindir} and ${sysconfdir} instead of /usr/bin and /etc
Javier Martinez Canillas
javier at dowhile0.org
Sun Aug 5 15:53:51 UTC 2012
It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.
Signed-off-by: Javier Martinez Canillas <javier at dowhile0.org>
---
meta/recipes-extended/sudo/sudo_1.8.5p2.bb | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-extended/sudo/sudo_1.8.5p2.bb b/meta/recipes-extended/sudo/sudo_1.8.5p2.bb
index dfba7e0..0b940d2 100644
--- a/meta/recipes-extended/sudo/sudo_1.8.5p2.bb
+++ b/meta/recipes-extended/sudo/sudo_1.8.5p2.bb
@@ -24,6 +24,6 @@ do_install_append () {
fi
done
- chmod 4111 ${D}/usr/bin/sudo
- chmod 0440 ${D}/etc/sudoers
+ chmod 4111 ${D}${bindir}/sudo
+ chmod 0440 ${D}${sysconfdir}/sudoers
}
--
1.7.7.6
More information about the Openembedded-core
mailing list