It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

Signed-off-by: Javier Martinez Canillas <[email protected]>
---
 meta/recipes-extended/lsb/lsb_1.4.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-extended/lsb/lsb_1.4.bb 
b/meta/recipes-extended/lsb/lsb_1.4.bb
index 15dbeaa..5734c5c 100644
--- a/meta/recipes-extended/lsb/lsb_1.4.bb
+++ b/meta/recipes-extended/lsb/lsb_1.4.bb
@@ -23,7 +23,7 @@ S = "${WORKDIR}/lsb-release-${PV}"
 
 do_install(){
        oe_runmake install prefix=${D}  mandir=${D}/${datadir}/man/ 
DESTDIR=${D} 
-       mkdir -p ${D}/bin
+       mkdir -p ${D}${base_bindir}
        mkdir -p ${D}/${baselib}
        mkdir -p ${D}/etc/lsb-release.d
        echo -n "LSB_VERSION=\"core-4.1-noarch:" > ${D}/etc/lsb-release
-- 
1.7.7.6


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to