Bugfix include.mes: skip commented modules.
* scripts/include.mes: Make regexp more strict.
This commit is contained in:
parent
d18542e25f
commit
b8a7334941
|
@ -18,6 +18,6 @@ if [ -n "$BOOT" ]; then
|
|||
echo $prefix/module/mes/mes-0.mes
|
||||
fi
|
||||
cat $1 \
|
||||
| grep -Eo '(mes-use-module \([^()]+ [^()]+))' \
|
||||
| grep -Eo '^\(mes-use-module \([^ ()]+ [^()]+))' \
|
||||
| grep -Eo ' \([^)]+\)' \
|
||||
| sed -e "s@^ *(@${prefix}/module/@" -e 's@ @/@g' -e 's@)@.mes@'
|
||||
|
|
Loading…
Reference in a new issue