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

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


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

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

time: use BPN for alternatives

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

---

 meta/recipes-extended/time/time.inc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-extended/time/time.inc b/meta/recipes-extended/time/time.inc
index 401288b..8e35843 100644
--- a/meta/recipes-extended/time/time.inc
+++ b/meta/recipes-extended/time/time.inc
@@ -9,10 +9,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
 inherit update-alternatives
 
 do_install_append () {
-        mv ${D}${bindir}/time ${D}${bindir}/time.${PN}
+        mv ${D}${bindir}/time ${D}${bindir}/time.${BPN}
 }
 
 ALTERNATIVE_NAME = "time"
 ALTERNATIVE_LINK = "${bindir}/time"
-ALTERNATIVE_PATH = "${bindir}/time.${PN}"
+ALTERNATIVE_PATH = "${bindir}/time.${BPN}"
 ALTERNATIVE_PRIORITY = "100"





More information about the Openembedded-commits mailing list