[OE-core] [PATCH 13/15] python-pygobject: fix buildpath QA issue

Burton, Ross ross.burton at intel.com
Tue Mar 8 15:24:23 UTC 2016


On 26 February 2016 at 01:45, Hongxu Jia <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.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160308/5b323f52/attachment-0002.html>


More information about the Openembedded-core mailing list