diff options
author | Andrew Robbins <contact@andrewrobbins.info> | 2017-07-09 03:22:45 -0400 |
---|---|---|
committer | Andrew Robbins <contact@andrewrobbins.info> | 2017-07-09 03:22:45 -0400 |
commit | 9b5d012ec4c2cfa32f05e3a668bcd2b2d17507ac (patch) | |
tree | db0ed50fcee5ef2b6673b3e8416e35a59505d36d /projects/vboot/configs/revision | |
parent | 74a0a67599f043dd43c9ea3cc3766fcf078c1ad7 (diff) | |
download | librebootfr-9b5d012ec4c2cfa32f05e3a668bcd2b2d17507ac.tar.gz librebootfr-9b5d012ec4c2cfa32f05e3a668bcd2b2d17507ac.zip |
Fix action text in './libreboot usage <project>'
Apparently the name used in a 'for /name/ ...' loop rebinds any local
variables (with the same name) with whatever /name/ is bound
to in a way that persists even after the loop returns. The crux of
the issue here is that a function's children can rebind the parent(s)'
local variables just by using the same name as the variable in a for
loop, which is surprising--and apparently undocumented--behavior.
Use of a subshell group for encapsulating the for loops (See:
project_usage_actions) mitigates the aforementioned issue.
Closes issue: #244
Diffstat (limited to 'projects/vboot/configs/revision')
0 files changed, 0 insertions, 0 deletions