[OE-core] [PATCH 2/2] meta: Fix python code quoting issues

Burton, Ross ross.burton at intel.com
Mon Jan 14 23:06:57 UTC 2019


On Mon, 14 Jan 2019 at 23:04, Richard Purdie <
richard.purdie at linuxfoundation.org> wrote:

> -    oe_terminal("${SHELL} -c \"make %s; if [ \$? -ne 0 ]; then echo
> 'Command failed.'; printf 'Press any key to continue... '; read r; fi\"" %
> d.getVar('KCONFIG_CONFIG_COMMAND'),
> +    oe_terminal("${SHELL} -c \"make %s; if [ \\$? -ne 0 ]; then echo
> 'Command failed.'; printf 'Press any key to continue... '; read r; fi\"" %
> d.getVar('KCONFIG_CONFIG_COMMAND'),
>

Would it be neater to use r"" here?

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20190114/132dc6c7/attachment.html>


More information about the Openembedded-core mailing list