poky/bitbake/lib
Antonin Godard 03742d7cb3 bitbake: codeparser: support shell substitutions in quotes
The current shell substitution mechanism only works without quotes. For
example:

  var1=$(cmd1 ...)

Will work and add `cmd1` to the correspondind `run.do_*` file.

However, although quite common, this syntax is not supported:

  var1="$(cmd1 ...)"

This commit adds this feature by adding a step to process_words() to
check whether we are dealing with quotes first, and by iterating on
what's between them to detect new shell substitution candidates. These
candidates are tested and parsed like before in the next step. The
original `part` being part of the candidates means the syntax
var1=$(cmd1 ...) is still valid.

(Bitbake rev: f56e1a37b2ba1773ed308043d7eb073cc2e6c06e)

Signed-off-by: Antonin Godard <antoningodard@pm.me>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-21 14:14:41 +01:00
..
bb bitbake: codeparser: support shell substitutions in quotes 2024-05-21 14:14:41 +01:00
bblayers bitbake: bitbake-layers: adapt force option to not use tinfoil 2024-05-08 14:51:43 +01:00
bs4 bitbake: bitbake/lib/bs4/tests/test_tree.py: python 3.12 regex 2024-02-13 13:52:10 +00:00
hashserv bitbake: hashserv: client: Fix mode state errors 2024-04-16 07:33:19 +01:00
layerindexlib bitbake: layerindexlib: fix missing layer branch backtrace 2024-02-27 11:36:38 +00:00
ply bitbake: utils/ply: Update md5 to better report errors with hashlib 2022-10-26 12:32:08 +01:00
progressbar bitbake: bitbake: progressbar: accept value over initial maxval 2024-02-23 14:34:05 +00:00
prserv bitbake: prserv: remove unnecessary code 2024-04-14 06:31:45 +01:00
simplediff
toaster bitbake: toaster/tests: Bug-fix ToasterTable show_rows testcases 2024-01-10 13:55:33 +00:00
codegen.py bitbake: codegen: cleanup deprecated AST usages 2023-11-14 23:39:53 +00:00
pyinotify.py bitbake: pyinotify.py: Simplify identification of which event has occurred 2022-04-14 09:48:33 +01:00