Message ID | 20240514015234.67318-3-antoningodard@pm.me |
---|---|
State | Accepted, archived |
Commit | 89712949de9476e4674864a8dcd6862fefe92eae |
Headers | show |
Series | Support codeparser shell expansion between quotes | expand |
diff --git a/lib/bb/codeparser.py b/lib/bb/codeparser.py index c613806c8..691bdff75 100644 --- a/lib/bb/codeparser.py +++ b/lib/bb/codeparser.py @@ -484,7 +484,7 @@ class ShellParser(): """ words = list(words) - for word in list(words): + for word in words: wtree = pyshlex.make_wordtree(word[1]) for part in wtree: if not isinstance(part, list):
Signed-off-by: Antonin Godard <antoningodard@pm.me> --- lib/bb/codeparser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)