]> git.ipfire.org Git - thirdparty/grub.git/commit
Filename expansion support for wildcards in GRUB script.
authorBVK Chaitanya <bvk@dbook>
Sat, 4 Sep 2010 17:15:34 +0000 (22:45 +0530)
committerBVK Chaitanya <bvk@dbook>
Sat, 4 Sep 2010 17:15:34 +0000 (22:45 +0530)
commit35ee15e09abe74ff54514053ac63a421036a0093
treef0a5c603441721f7eb6ebf18ba234853c51399db
parent5f0c4acaca98d1e8a2e75465fe9d5d9193edd68f
parentee14ec9935f803c3a87509092b2fda02ba563799
Filename expansion support for wildcards in GRUB script.

* tests/grub_script_expansion.in: New test.
* Makefile.util.def: Rule for new test.

* grub-core/commands/wildcard.c: New file, implements filename
expansion support for GRUB script.
* grub-core/Makefile.core.def: Rule update for regexp.mod.
* grub-core/script/argv.c: Cosmetic changes.
* grub-core/script/execute.c (grub_script_arglist_to_argv):
Refactored to perform wildcard expansion on arguments.
* include/grub/script_sh.h (grub_script_wildcard_translator): New
struct.

* tests/util/grub-shell.in: Fix quoting for read input.
ChangeLog