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 10:43:41 +0100 |
commit | 3ddf0dbfe5b0dae2baa2719aa96f0bdea1fe7b80 (patch) | |
tree | f4dcd61b861f81583174cf3db04d6489e1d961a2 | |
parent | 75f70ab534f6dfef961906fb5c252f9e5310d38f (diff) | |
download | openembedded-core-3ddf0dbfe5b0dae2baa2719aa96f0bdea1fe7b80.tar.gz openembedded-core-3ddf0dbfe5b0dae2baa2719aa96f0bdea1fe7b80.tar.bz2 openembedded-core-3ddf0dbfe5b0dae2baa2719aa96f0bdea1fe7b80.zip |
which: use BPN for alternatives
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
-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() { 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 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() { 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" |