summaryrefslogtreecommitdiffstats
path: root/scripts/wic
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/wic')
-rwxr-xr-xscripts/wic6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/wic b/scripts/wic
index 442334030f..2d3fd09d71 100755
--- a/scripts/wic
+++ b/scripts/wic
@@ -214,6 +214,12 @@ def wic_list_subcommand(args, usage_str):
214 214
215 (options, args) = parser.parse_args(args) 215 (options, args) = parser.parse_args(args)
216 216
217 bitbake_env_lines = find_bitbake_env_lines(None)
218 if not bitbake_env_lines:
219 print "Couldn't get bitbake environment, exiting."
220 sys.exit(1)
221 set_bitbake_env_lines(bitbake_env_lines)
222
217 if not wic_list(args, scripts_path, options.properties_file): 223 if not wic_list(args, scripts_path, options.properties_file):
218 logging.error("Bad list arguments, exiting\n") 224 logging.error("Bad list arguments, exiting\n")
219 parser.print_help() 225 parser.print_help()