[poky] Not able to set env var from anon function
Burton, Ross
ross.burton at intel.com
Thu Jul 9 06:40:06 PDT 2015
On 9 July 2015 at 13:12, Nithyakala Sainath <nithisai at gmail.com> wrote:
> But d.setVar("TEMPDIR", "randomvalue") in place of os.environ does the
> mgic. Why can't we manipulate the environmental variable using os.environ ?
Because in "echo ${TEMPDIR}" the variable is expanded by bitbake, not the
shell. Use $TEMPDIR.
Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20150709/d4b1fffd/attachment.html>
More information about the poky
mailing list