On 19.05.2014 08:37, Glenn Washburn wrote: > Currently, builtin commands take precedence over user-defined > functions. This patch reverses that precedence, so that users can > "override" builtin commands. Builtin commands may be accessed by > issuing the command prefixed by an '@' character. > Overriding builtins sounds like a bad idea. For once it creates a language which is heavily dependent on context. This gets hairy and messy very fast. > My motivation for this change is to hook insmod in loaded configfiles > which set $prefix to a different location than desired. If there are > any changes needed to help get this functionality included, please let > me know. > Could you detail your usercase more? $prefix is the location where modules are, why not just set it to right location?
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel