diff options
author | Robert Bradford <rob@openedhand.com> | 2008-10-17 09:46:35 +0000 |
---|---|---|
committer | Robert Bradford <rob@openedhand.com> | 2008-10-17 09:46:35 +0000 |
commit | 696d4f01d235b7309fd1b88bd12949927f19b5d6 (patch) | |
tree | 90c0a158e4c0f41ce8ef68989218df7a73f6d282 /bitbake/lib/bb/cooker.py | |
parent | 9294b951744b5fc64dea7f10760bee0b1d8cd6f0 (diff) | |
download | poky-696d4f01d235b7309fd1b88bd12949927f19b5d6.tar.gz |
bitbake: Refactor the environment variable handling
Refactor the environment variable handling so that it more closes matches the
changes that have been made in bitbake-dev.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5527 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 50624d8d33..7477ee6c6f 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -596,6 +596,9 @@ class BBCooker: | |||
596 | build. | 596 | build. |
597 | """ | 597 | """ |
598 | 598 | ||
599 | # Wipe the OS environment | ||
600 | bb.utils.empty_environment() | ||
601 | |||
599 | if self.configuration.show_environment: | 602 | if self.configuration.show_environment: |
600 | self.showEnvironment(self.configuration.buildfile, self.configuration.pkgs_to_build) | 603 | self.showEnvironment(self.configuration.buildfile, self.configuration.pkgs_to_build) |
601 | sys.exit( 0 ) | 604 | sys.exit( 0 ) |