]> code.ossystems Code Review - openembedded-core.git/commitdiff
time: use BPN for alternatives
authorMark Hatle <mark.hatle@windriver.com>
Tue, 22 May 2012 17:37:40 +0000 (12:37 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 30 May 2012 09:43:41 +0000 (10:43 +0100)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
meta/recipes-extended/time/time.inc

index 401288b0ceb77b146679a248b23dfeb4c161e9b1..8e35843a6791c5d5fba0a020340ade9d785b5ca7 100644 (file)
@@ -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"