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

index 38c3e95d712206628504e0d96833e17fb7c1cb02..21c06c64b54d2651f60efdf3404d2c2def24ff41 100644 (file)
@@ -10,9 +10,9 @@ S = "${WORKDIR}/patch-${PV}"
 inherit autotools update-alternatives
 
 do_install_append () {
-        mv ${D}${bindir}/patch ${D}${bindir}/patch.${PN}
+        mv ${D}${bindir}/patch ${D}${bindir}/patch.${BPN}
 }
 
 ALTERNATIVE_NAME = "patch"
-ALTERNATIVE_PATH = "patch.${PN}"
+ALTERNATIVE_PATH = "patch.${BPN}"
 ALTERNATIVE_PRIORITY = "100"