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

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


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

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

less: use BPN for alternatives

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

---

 meta/recipes-extended/less/less_444.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-extended/less/less_444.bb b/meta/recipes-extended/less/less_444.bb
index a5c9c00..146b4fd 100644
--- a/meta/recipes-extended/less/less_444.bb
+++ b/meta/recipes-extended/less/less_444.bb
@@ -34,9 +34,9 @@ inherit autotools update-alternatives
 
 do_install () {
         oe_runmake 'bindir=${D}${bindir}' 'mandir=${D}${mandir}' install
-        mv ${D}${bindir}/less ${D}${bindir}/less.${PN}
+        mv ${D}${bindir}/less ${D}${bindir}/less.${BPN}
 }
 
 ALTERNATIVE_NAME = "less"
-ALTERNATIVE_PATH = "less.${PN}"
+ALTERNATIVE_PATH = "less.${BPN}"
 ALTERNATIVE_PRIORITY = "100"





More information about the Openembedded-commits mailing list