3 if [ "$1" == "--help" ]; then
4 echo "Usage: include.mes FILE"
7 for prefix in $(dirname $(dirname $0))/share/mes . $(dirname $(dirname $0)); do
8 if [ -d ${prefix}/module ]; then
13 if [ -n "$BOOT" ]; then
14 echo $prefix/module/mes/loop-0.mes
17 | grep -Eo '(mes-use-module \([^()]+ [^()]+))' \
18 | grep -Eo ' \([^)]+\)' \
19 | sed -e "s@^ *(@${prefix}/module/@" -e 's@ @/@g' -e 's@)@.mes@'