summaryrefslogtreecommitdiff
path: root/include/env
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-09-14 07:54:00 +0100
committerLeah Rowe <leah@libreboot.org>2026-09-14 08:06:51 +0100
commit4ebede5b99270f0770a989392fd935b13010e695 (patch)
tree1e938d0a1568ac0641f67a97b921dd845ac35e54 /include/env
parenta82328904e52fb74aed5083e59c8b030b15f19fd (diff)
tree.sh: fix globbing in multi-tree command args
this solves a bug that does not yet manifest, because this bug *can't* currently trigger any error due to lbmk's design. this is therefore a preventative fix, for reasons that will become clear. we previously put arguments in a variable, in a way that didn't handle globbing. now we avoid a variable and use "$@" instead, which solves the problem. this also means that the main logic in mk can be cleaner, as trees-specific control logic is now placed entirely in tree.sh's main. this means that we can now also wrap x_ around trees() this was never a problem in the past, because all of the arguments for trees commands never have globbing; config names are always e.g. foo_bar, not foo bar in commands where globbing did need to be handled, those commands were never trees commands. e.g. you had ./mk inject filename yes, this is a design improvement, or a preventative bug fix. pick your poison. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/env')
0 files changed, 0 insertions, 0 deletions