diff options
| author | Michael Brown | 2010-11-22 22:31:00 +0100 |
|---|---|---|
| committer | Michael Brown | 2010-11-22 22:34:35 +0100 |
| commit | c1327e43ab4c9281651e8505a2149a96c11371b4 (patch) | |
| tree | 9aba6931e639102dd580d198ea4047790a15400d /src/include | |
| parent | [settings] Allow "set" command to take an empty value (diff) | |
| download | ipxe-c1327e43ab4c9281651e8505a2149a96c11371b4.tar.gz ipxe-c1327e43ab4c9281651e8505a2149a96c11371b4.tar.xz ipxe-c1327e43ab4c9281651e8505a2149a96c11371b4.zip | |
[cmdline] Fix multi-layer variable expansion
Expansion of ${${foo}} will currently fail, because the first
opening "${" will be incorrectly matched against the first closing
"}", leading to an attempt to expand the variable "${foo".
Fix by ensuring that the most recent opening "${" is used to match
against the first closing "}".
Total cost: 8 bytes. :)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
0 files changed, 0 insertions, 0 deletions
