aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/misc
diff options
context:
space:
mode:
authorAndrew Robbins <contact@andrewrobbins.info>2017-07-09 03:22:45 -0400
committerAndrew Robbins <contact@andrewrobbins.info>2017-07-09 03:22:45 -0400
commit9b5d012ec4c2cfa32f05e3a668bcd2b2d17507ac (patch)
treedb0ed50fcee5ef2b6673b3e8416e35a59505d36d /resources/scripts/misc
parent74a0a67599f043dd43c9ea3cc3766fcf078c1ad7 (diff)
downloadlibrebootfr-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 'resources/scripts/misc')
0 files changed, 0 insertions, 0 deletions