diff options
Diffstat (limited to 'bitbake/bin')
| -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): | |||
| 56 | 56 | ||
| 57 | 57 | ||
| 58 | def get_ui(config): | 58 | def get_ui(config): |
| 59 | if config.ui: | 59 | if not config.ui: |
| 60 | interface = config.ui | 60 | # modify 'ui' attribute because it is also read by cooker |
| 61 | else: | 61 | config.ui = os.environ.get('BITBAKE_UI', 'knotty') |
| 62 | interface = 'knotty' | 62 | |
| 63 | interface = config.ui | ||
| 63 | 64 | ||
| 64 | try: | 65 | try: |
| 65 | # Dynamically load the UI based on the ui name. Although we | 66 | # Dynamically load the UI based on the ui name. Although we |
