<div dir="ltr"><div><div>Thanks for your answer Ross.<br><br></div>But no, I already did that and tried again. The "randomvalue" is not getting reflected. The variable still has "temp" in it. <br><br></div>Nithya.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 9, 2015 at 7:10 PM, Burton, Ross <span dir="ltr"><<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><span class=""><br><div class="gmail_quote">On 9 July 2015 at 13:12, Nithyakala Sainath <span dir="ltr"><<a href="mailto:nithisai@gmail.com" target="_blank">nithisai@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">But d.setVar("TEMPDIR", "randomvalue") in place of os.environ does the mgic. Why can't we manipulate the environmental variable using os.environ ?</blockquote></div><br></span>Because in "echo ${TEMPDIR}" the variable is expanded by bitbake, not the shell. Use $TEMPDIR.</div><span class="HOEnZb"><font color="#888888"><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></font></span></div>
</blockquote></div><br></div>