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