2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
Simplify sed expressions and improve awk * Makefile.in (install-local): simplify sed expression * gencmdlist.sh: likewise * genmoddep.awk: avoid adding module as a dependency of itself
This commit is contained in:
parent
5b889789b1
commit
fb14123e01
4 changed files with 14 additions and 4 deletions
|
@ -17,4 +17,6 @@ module=$1
|
|||
|
||||
grep -v "^#" | sed -n \
|
||||
-e "/grub_register_command *( *\"/{s/.*( *\"\([^\"]*\)\".*/\1: $module/;p;}" \
|
||||
-e "/\(grub_register_extcmd\|grub_register_command_p1\) *( *\"/{s/.*( *\"\([^\"]*\)\".*/*\1: $module/;p;}"
|
||||
-e "/grub_register_extcmd *( *\"/{s/.*( *\"\([^\"]*\)\".*/*\1: $module/;p;}" \
|
||||
-e "/grub_register_command_p1 *( *\"/{s/.*( *\"\([^\"]*\)\".*/*\1: $module/;p;}"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue