[oe-commits] Mark Hatle : sed: use BPN for alternatives

git at git.openembedded.org git at git.openembedded.org
Wed May 30 11:05:16 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: cd059cb57efa2aad332ef2fc7f1f411afce82b73
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=cd059cb57efa2aad332ef2fc7f1f411afce82b73

Author: Mark Hatle <mark.hatle at windriver.com>
Date:   Tue May 22 12:38:19 2012 -0500

sed: use BPN for alternatives

Signed-off-by: Mark Hatle <mark.hatle at windriver.com>

---

 meta/recipes-extended/sed/sed_4.1.2.bb |    4 ++--
 meta/recipes-extended/sed/sed_4.2.1.bb |    4 ++--
 2 files changed, 4 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 8baa180..ca22736 100644
--- a/meta/recipes-extended/sed/sed_4.1.2.bb
+++ b/meta/recipes-extended/sed/sed_4.1.2.bb
@@ -17,12 +17,12 @@ inherit autotools update-alternatives gettext
 do_install () {
 	autotools_do_install
 	install -d ${D}${base_bindir}
-	mv ${D}${bindir}/sed ${D}${base_bindir}/sed.${PN}
+	mv ${D}${bindir}/sed ${D}${base_bindir}/sed.${BPN}
 	rmdir ${D}${bindir}/
 }
 
 ALTERNATIVE_NAME = "sed"
-ALTERNATIVE_PATH = "sed.${PN}"
+ALTERNATIVE_PATH = "sed.${BPN}"
 ALTERNATIVE_LINK = "${base_bindir}/sed"
 ALTERNATIVE_PRIORITY = "100"
 
diff --git a/meta/recipes-extended/sed/sed_4.2.1.bb b/meta/recipes-extended/sed/sed_4.2.1.bb
index 0fceecd..b39eca0 100644
--- a/meta/recipes-extended/sed/sed_4.2.1.bb
+++ b/meta/recipes-extended/sed/sed_4.2.1.bb
@@ -18,12 +18,12 @@ EXTRA_OECONF = "--disable-acl"
 do_install () {
 	autotools_do_install
 	install -d ${D}${base_bindir}
-	mv ${D}${bindir}/sed ${D}${base_bindir}/sed.${PN}
+	mv ${D}${bindir}/sed ${D}${base_bindir}/sed.${BPN}
 	rmdir ${D}${bindir}/
 }
 
 ALTERNATIVE_NAME = "sed"
-ALTERNATIVE_PATH = "sed.${PN}"
+ALTERNATIVE_PATH = "sed.${BPN}"
 ALTERNATIVE_LINK = "${base_bindir}/sed"
 ALTERNATIVE_PRIORITY = "100"
 





More information about the Openembedded-commits mailing list