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

bootstrap: use shell rather than find and sed

parent 7062f040
......@@ -61,9 +61,9 @@ fi
###
echo "generating modules/**/Makefile.am"
find modules/ -name Modules.am | \
sed -ne 's,modules/\(.*\)/Modules.am,\1,p' | \
while read d; do
for d in modules/*/Modules.am modules/gui/*/Modules.am; do
d="${d#modules/}"
d="${d%/Modules.am}"
${CONFIG_SHELL-sh} modules/genmf "$d"
printf "."
done
......
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