mirror of
https://git.yoctoproject.org/poky
synced 2026-02-07 01:06:37 +01:00
bitbake: Make sure existing environment variables are properly exported
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -329,6 +329,7 @@ def inheritFromOS(d):
|
||||
for s in os.environ.keys():
|
||||
try:
|
||||
setVar(s, os.environ[s], d)
|
||||
setVarFlag(s, "export", True, d)
|
||||
except TypeError:
|
||||
pass
|
||||
|
||||
|
||||
@@ -329,6 +329,7 @@ def inheritFromOS(d):
|
||||
for s in os.environ.keys():
|
||||
try:
|
||||
setVar(s, os.environ[s], d)
|
||||
setVarFlag(s, "export", True, d)
|
||||
except TypeError:
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user