summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/mktemp/mktemp_1.7.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/mktemp/mktemp_1.7.bb')
-rw-r--r--meta/recipes-extended/mktemp/mktemp_1.7.bb8
1 files changed, 5 insertions, 3 deletions
diff --git a/meta/recipes-extended/mktemp/mktemp_1.7.bb b/meta/recipes-extended/mktemp/mktemp_1.7.bb
index 9accc6eed6..e8ae5c6b72 100644
--- a/meta/recipes-extended/mktemp/mktemp_1.7.bb
+++ b/meta/recipes-extended/mktemp/mktemp_1.7.bb
@@ -20,9 +20,11 @@ inherit autotools update-alternatives
20EXTRA_OECONF = "--with-libc" 20EXTRA_OECONF = "--with-libc"
21 21
22do_install_append () { 22do_install_append () {
23 install -d ${D}${base_bindir} 23 if [ "${base_bindir}" != "${bindir}" ] ; then
24 mv ${D}${bindir}/mktemp ${D}${base_bindir}/mktemp 24 install -d ${D}${base_bindir}
25 rmdir ${D}${bindir} 25 mv ${D}${bindir}/mktemp ${D}${base_bindir}/mktemp
26 rmdir ${D}${bindir}
27 fi
26} 28}
27 29
28ALTERNATIVE_${PN} = "mktemp" 30ALTERNATIVE_${PN} = "mktemp"