* grub-core/script/execute.c (grub_script_execute_sourcecode): Split
off new function grub_script_execute_new_scope. Change callers to use either of them as appropriate. * grub-core/commands/eval.c: New command eval. * docs/grub.texi (Commands): Document it.
This commit is contained in:
parent
63c2984922
commit
593e430cd6
7 changed files with 50 additions and 13 deletions
|
@ -703,6 +703,11 @@ module = {
|
|||
common = commands/echo.c;
|
||||
};
|
||||
|
||||
module = {
|
||||
name = eval;
|
||||
common = commands/eval.c;
|
||||
};
|
||||
|
||||
module = {
|
||||
name = extcmd;
|
||||
common = commands/extcmd.c;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue