diff options
Diffstat (limited to 'bitbake/bin/bitbake')
-rwxr-xr-x | bitbake/bin/bitbake | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake index 420e69d0c9..478ac06124 100755 --- a/bitbake/bin/bitbake +++ b/bitbake/bin/bitbake @@ -56,10 +56,11 @@ class BBConfiguration(object): def get_ui(config): - if config.ui: - interface = config.ui - else: - interface = 'knotty' + if not config.ui: + # modify 'ui' attribute because it is also read by cooker + config.ui = os.environ.get('BITBAKE_UI', 'knotty') + + interface = config.ui try: # Dynamically load the UI based on the ui name. Although we |