diff options
Diffstat (limited to 'meta/recipes-extended/sed')
-rw-r--r-- | meta/recipes-extended/sed/sed_4.1.2.bb | 6 | ||||
-rw-r--r-- | meta/recipes-extended/sed/sed_4.2.2.bb | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/meta/recipes-extended/sed/sed_4.1.2.bb b/meta/recipes-extended/sed/sed_4.1.2.bb index 4c0f3452ac..40e3a53ceb 100644 --- a/meta/recipes-extended/sed/sed_4.1.2.bb +++ b/meta/recipes-extended/sed/sed_4.1.2.bb | |||
@@ -23,8 +23,10 @@ do_configure_prepend () { | |||
23 | do_install () { | 23 | do_install () { |
24 | autotools_do_install | 24 | autotools_do_install |
25 | install -d ${D}${base_bindir} | 25 | install -d ${D}${base_bindir} |
26 | mv ${D}${bindir}/sed ${D}${base_bindir}/sed | 26 | if [ ! ${D}${bindir} -ef ${D}${base_bindir} ]; then |
27 | rmdir ${D}${bindir}/ | 27 | mv ${D}${bindir}/sed ${D}${base_bindir}/sed |
28 | rmdir ${D}${bindir}/ | ||
29 | fi | ||
28 | } | 30 | } |
29 | 31 | ||
30 | ALTERNATIVE_${PN} = "sed" | 32 | ALTERNATIVE_${PN} = "sed" |
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 \ | |||
22 | do_install () { | 22 | do_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 | ||
29 | ALTERNATIVE_${PN} = "sed" | 31 | ALTERNATIVE_${PN} = "sed" |