[oe-commits] Mark Hatle : which: use BPN for alternatives
git at git.openembedded.org
git at git.openembedded.org
Wed May 30 11:05:11 UTC 2012
Module: openembedded-core.git
Branch: master
Commit: 3ddf0dbfe5b0dae2baa2719aa96f0bdea1fe7b80
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=3ddf0dbfe5b0dae2baa2719aa96f0bdea1fe7b80
Author: Mark Hatle <mark.hatle at windriver.com>
Date: Tue May 22 12:37:16 2012 -0500
which: use BPN for alternatives
Signed-off-by: Mark Hatle <mark.hatle at windriver.com>
---
meta/recipes-extended/which/which_2.18.bb | 4 ++--
meta/recipes-extended/which/which_2.20.bb | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/meta/recipes-extended/which/which_2.18.bb b/meta/recipes-extended/which/which_2.18.bb
index f87929b..d54e776 100644
--- a/meta/recipes-extended/which/which_2.18.bb
+++ b/meta/recipes-extended/which/which_2.18.bb
@@ -27,10 +27,10 @@ do_configure_prepend() {
sed -i "s#${OLD}#${NEW}#g" `grep -rl ${OLD} ${S}`
}
do_install_append() {
- mv ${D}/${bindir}/which ${D}/${bindir}/which.${PN}
+ mv ${D}/${bindir}/which ${D}/${bindir}/which.${BPN}
}
ALTERNATIVE_NAME = "which"
-ALTERNATIVE_PATH = "which.${PN}"
+ALTERNATIVE_PATH = "which.${BPN}"
ALTERNATIVE_PRIORITY = "100"
diff --git a/meta/recipes-extended/which/which_2.20.bb b/meta/recipes-extended/which/which_2.20.bb
index a4e860b..9b43943 100644
--- a/meta/recipes-extended/which/which_2.20.bb
+++ b/meta/recipes-extended/which/which_2.20.bb
@@ -24,9 +24,9 @@ do_configure_prepend() {
do_install() {
autotools_do_install
- mv ${D}${bindir}/which ${D}${bindir}/which.${PN}
+ mv ${D}${bindir}/which ${D}${bindir}/which.${BPN}
}
ALTERNATIVE_NAME = "which"
-ALTERNATIVE_PATH = "which.${PN}"
+ALTERNATIVE_PATH = "which.${BPN}"
ALTERNATIVE_PRIORITY = "100"
More information about the Openembedded-commits
mailing list