summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/sed/sed_4.2.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/sed/sed_4.2.2.bb')
-rw-r--r--meta/recipes-extended/sed/sed_4.2.2.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-extended/sed/sed_4.2.2.bb b/meta/recipes-extended/sed/sed_4.2.2.bb
index 72976deb64..bbfa238df1 100644
--- a/meta/recipes-extended/sed/sed_4.2.2.bb
+++ b/meta/recipes-extended/sed/sed_4.2.2.bb
@@ -22,8 +22,10 @@ EXTRA_OECONF = "--disable-acl \
22do_install () { 22do_install () {
23 autotools_do_install 23 autotools_do_install
24 install -d ${D}${base_bindir} 24 install -d ${D}${base_bindir}
25 mv ${D}${bindir}/sed ${D}${base_bindir}/sed 25 if [ ! ${D}${bindir} -ef ${D}${base_bindir} ]; then
26 rmdir ${D}${bindir}/ 26 mv ${D}${bindir}/sed ${D}${base_bindir}/sed
27 rmdir ${D}${bindir}/
28 fi
27} 29}
28 30
29ALTERNATIVE_${PN} = "sed" 31ALTERNATIVE_${PN} = "sed"