On 26 February 2016 at 01:45, Hongxu Jia <hongxu....@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
-- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core