[OE-core] [PATCH 13/15] python-pygobject: fix buildpath QA issue
Hongxu Jia
hongxu.jia at windriver.com
Wed Mar 9 01:07:05 UTC 2016
On 03/08/2016 11:24 PM, Burton, Ross wrote:
>
> On 26 February 2016 at 01:45, Hongxu Jia <hongxu.jia at windriver.com
> <mailto:hongxu.jia at windriver.com>> wrote:
>
> +do_install_append_class-target() {
> + sed -i -e "s:${PYTHON}:\`which python\`:g" \
> + ${D}${bindir}/pygobject-codegen-2.0
> +}
>
>
> If you're going to expect the shell to find the right python on the
> target there's no need to use `which python` as exec will search
> $PATH. However, we do know where Python on the target it:
> ${bindir}/python.
>
OK, I directly use '${bindir}/python' to instead.
//Hongxu
> Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160309/1dd68cf6/attachment-0002.html>
More information about the Openembedded-core
mailing list