summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/which
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2012-05-22 12:37:16 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-30 12:04:38 +0100
commit4966bc58098ec5c983dc692327491d53b65c4b6b (patch)
treea63cfb1062f2385efda46fa3d9a33d1644613ae1 /meta/recipes-extended/which
parente4449c91fb29c4c6516fda1ac52cee84136b03c3 (diff)
downloadpoky-4966bc58098ec5c983dc692327491d53b65c4b6b.tar.gz
which: use BPN for alternatives
(From OE-Core rev: 3ddf0dbfe5b0dae2baa2719aa96f0bdea1fe7b80) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/which')
-rw-r--r--meta/recipes-extended/which/which_2.18.bb4
-rw-r--r--meta/recipes-extended/which/which_2.20.bb4
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 f87929b334..d54e776407 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() {
27 sed -i "s#${OLD}#${NEW}#g" `grep -rl ${OLD} ${S}` 27 sed -i "s#${OLD}#${NEW}#g" `grep -rl ${OLD} ${S}`
28} 28}
29do_install_append() { 29do_install_append() {
30 mv ${D}/${bindir}/which ${D}/${bindir}/which.${PN} 30 mv ${D}/${bindir}/which ${D}/${bindir}/which.${BPN}
31} 31}
32 32
33ALTERNATIVE_NAME = "which" 33ALTERNATIVE_NAME = "which"
34ALTERNATIVE_PATH = "which.${PN}" 34ALTERNATIVE_PATH = "which.${BPN}"
35ALTERNATIVE_PRIORITY = "100" 35ALTERNATIVE_PRIORITY = "100"
36 36
diff --git a/meta/recipes-extended/which/which_2.20.bb b/meta/recipes-extended/which/which_2.20.bb
index a4e860b6c9..9b4394331c 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() {
24 24
25do_install() { 25do_install() {
26 autotools_do_install 26 autotools_do_install
27 mv ${D}${bindir}/which ${D}${bindir}/which.${PN} 27 mv ${D}${bindir}/which ${D}${bindir}/which.${BPN}
28} 28}
29 29
30ALTERNATIVE_NAME = "which" 30ALTERNATIVE_NAME = "which"
31ALTERNATIVE_PATH = "which.${PN}" 31ALTERNATIVE_PATH = "which.${BPN}"
32ALTERNATIVE_PRIORITY = "100" 32ALTERNATIVE_PRIORITY = "100"