diff options
Diffstat (limited to 'bitbake/lib/bb/cookerdata.py')
-rw-r--r-- | bitbake/lib/bb/cookerdata.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cookerdata.py b/bitbake/lib/bb/cookerdata.py index ba657c03b6..592bc2968e 100644 --- a/bitbake/lib/bb/cookerdata.py +++ b/bitbake/lib/bb/cookerdata.py | |||
@@ -86,7 +86,7 @@ class ConfigParameters(object): | |||
86 | action['msg'] = "Only one target can be used with the --environment option." | 86 | action['msg'] = "Only one target can be used with the --environment option." |
87 | elif self.options.buildfile and len(self.options.pkgs_to_build) > 0: | 87 | elif self.options.buildfile and len(self.options.pkgs_to_build) > 0: |
88 | action['msg'] = "No target should be used with the --environment and --buildfile options." | 88 | action['msg'] = "No target should be used with the --environment and --buildfile options." |
89 | elif len(self.options.pkgs_to_build) > 0: | 89 | elif self.options.pkgs_to_build: |
90 | action['action'] = ["showEnvironmentTarget", self.options.pkgs_to_build] | 90 | action['action'] = ["showEnvironmentTarget", self.options.pkgs_to_build] |
91 | else: | 91 | else: |
92 | action['action'] = ["showEnvironment", self.options.buildfile] | 92 | action['action'] = ["showEnvironment", self.options.buildfile] |