<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 03/08/2016 11:24 PM, Burton, Ross
wrote:<br>
</div>
<blockquote
cite="mid:CAJTo0LYNcQTcB9tLgYO0gRak4cLV3feaQJGautCBFyxVTQwBaQ@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div dir="ltr">
<div class="gmail_extra"><br>
<div class="gmail_quote">On 26 February 2016 at 01:45, Hongxu
Jia <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:hongxu.jia@windriver.com" target="_blank">hongxu.jia@windriver.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div id=":5h4" class="a3s" style="overflow:hidden">+do_install_append_class-target()
{<br>
+ sed -i -e "s:${PYTHON}:\`which python\`:g" \<br>
+ ${D}${bindir}/pygobject-codegen-2.0<br>
+}</div>
</blockquote>
</div>
<br>
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.</div>
<div class="gmail_extra"><br>
</div>
</div>
</blockquote>
<br>
OK, I directly use '${bindir}/python' to instead.<br>
<br>
//Hongxu<br>
<br>
<blockquote
cite="mid:CAJTo0LYNcQTcB9tLgYO0gRak4cLV3feaQJGautCBFyxVTQwBaQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">Ross</div>
</div>
</blockquote>
<br>
</body>
</html>