Commit fb057829 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fail cleanly if Modules.am is missing

parent ba0e176f
......@@ -14,6 +14,10 @@ do
printf "."
dir="$1"
modf="modules/${dir}/Modules.am"
if ! test -f "$modf"; then
echo "$modf does not exist!" >&2
exit 1
fi
makf="modules/${dir}/Makefile.am"
basedir="`echo "${dir}" | cut -f1 -d/`"
mods="`sed -n -e 's/^ *SOURCES_\([^ ]*\).*/\1/p' < "${modf}" | sort | uniq | xargs`"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment