<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 8, 2015 at 6:16 AM, Robert Yang <span dir="ltr"><<a href="mailto:liezhi.yang@windriver.com" target="_blank">liezhi.yang@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=":18l" class="a3s" style="overflow:hidden"> oe_runconf () {<br>
- cfgscript="${S}/configure"<br>
+ # Use relative path for S to avoid buildpaths in files<br>
+ relative_s=`python -c "import os; print os.path.relpath('${S}', '.')"`<br>
+ cfgscript="$relative_s/configure"</div></blockquote></div><br>Why not just use inline python here, rather than calling out to an external python process at task execution time?<br>-- <br><div class="gmail_signature">Christopher Larson<br>clarson at kergoth dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics</div>
</div></div>