]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[cmdline] Expand settings within each command-line token individually
authorMichael Brown <mcb30@ipxe.org>
Mon, 28 Mar 2011 16:35:23 +0000 (17:35 +0100)
committerMichael Brown <mcb30@ipxe.org>
Mon, 28 Mar 2011 16:35:23 +0000 (17:35 +0100)
commitb5f5f735c1aa1817e460760b0c2da25e04ef7124
treedbf65489648c94a26dea7af1f2ce46c5fbe2748f
parent1f4c5f90c3274d4c287d493ed03194a2253d327e
[cmdline] Expand settings within each command-line token individually

Perform settings expansion after tokenisation, and only at the point
of executing each command.  This allows statements such as

   dhcp && echo ${net0/ip}

to work correctly.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/core/exec.c