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

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


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

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

patch: use BPN for alternatives

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

---

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

diff --git a/meta/recipes-devtools/patch/patch.inc b/meta/recipes-devtools/patch/patch.inc
index 38c3e95..21c06c6 100644
--- a/meta/recipes-devtools/patch/patch.inc
+++ b/meta/recipes-devtools/patch/patch.inc
@@ -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"





More information about the Openembedded-commits mailing list