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