diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2012-05-22 12:37:16 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-30 12:04:38 +0100 |
commit | 4966bc58098ec5c983dc692327491d53b65c4b6b (patch) | |
tree | a63cfb1062f2385efda46fa3d9a33d1644613ae1 /meta | |
parent | e4449c91fb29c4c6516fda1ac52cee84136b03c3 (diff) | |
download | poky-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')
-rw-r--r-- | meta/recipes-extended/which/which_2.18.bb | 4 | ||||
-rw-r--r-- | 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 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 | } |
29 | do_install_append() { | 29 | do_install_append() { |
30 | mv ${D}/${bindir}/which ${D}/${bindir}/which.${PN} | 30 | mv ${D}/${bindir}/which ${D}/${bindir}/which.${BPN} |
31 | } | 31 | } |
32 | 32 | ||
33 | ALTERNATIVE_NAME = "which" | 33 | ALTERNATIVE_NAME = "which" |
34 | ALTERNATIVE_PATH = "which.${PN}" | 34 | ALTERNATIVE_PATH = "which.${BPN}" |
35 | ALTERNATIVE_PRIORITY = "100" | 35 | ALTERNATIVE_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 | ||
25 | do_install() { | 25 | do_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 | ||
30 | ALTERNATIVE_NAME = "which" | 30 | ALTERNATIVE_NAME = "which" |
31 | ALTERNATIVE_PATH = "which.${PN}" | 31 | ALTERNATIVE_PATH = "which.${BPN}" |
32 | ALTERNATIVE_PRIORITY = "100" | 32 | ALTERNATIVE_PRIORITY = "100" |