]> git.ipfire.org Git - thirdparty/grub.git/commit
"setparams" command to update positional parameters.
authorBVK Chaitanya <bvk@dbook>
Sat, 4 Sep 2010 14:57:48 +0000 (20:27 +0530)
committerBVK Chaitanya <bvk@dbook>
Sat, 4 Sep 2010 14:57:48 +0000 (20:27 +0530)
commit52e72f9d461ae8292a11e2e8addfa65ade36769d
tree56cc5c4939e3eec366274d41ea85f308e5e3e77d
parent25b60c913b4708f5dce0466a630e696b03e4be23
parent227cab7c79c68e23afcb936ccec9301f2739cba2
"setparams" command to update positional parameters.

* tests/grub_script_setparams.in: New test.
* Makefile.util.def: Rules for new test.

* grub-core/script/argv.c (grub_script_argv_make): New function.
* grub-core/script/execute.c (replace_scope): New function.
(grub_script_setparams): New function.
* grub-core/script/lexer.c: Remove unused variables.
* grub-core/script/main.c: Register/unregister setparams command.
* include/grub/script_sh.h (grub_script_argv_make): New prototype.
(grub_script_setparams): New prototype.
ChangeLog