]> code.ossystems Code Review - openembedded-core.git/commitdiff
devtool: configure-help: fix error if do_configure not already run
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 21 Mar 2016 05:14:03 +0000 (18:14 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Mar 2016 14:24:25 +0000 (14:24 +0000)
The code here for running do_configure if it hadn't already been run was
using the wrong string substitution parameters; fix it and test it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/devtool/utilcmds.py

index 905d6d2b19509f395da476f4d03460f37367e384..b761a80f8fdba6d5036094a479a792761f9e3a4a 100644 (file)
@@ -86,7 +86,7 @@ def configure_help(args, config, basepath, workspace):
         logger.info('Running do_configure to generate configure script')
         try:
             stdout, _ = exec_build_env_command(config.init_path, basepath,
-                                               'bitbake -c configure %s' % msg, args.recipename,
+                                               'bitbake -c configure %s' % args.recipename,
                                                stderr=subprocess.STDOUT)
         except bb.process.ExecutionError:
             pass