[vlc-commits] bootstrap: use shell rather than find and sed
Rémi Denis-Courmont
git at videolan.org
Wed Sep 26 21:26:20 CEST 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Sep 26 22:25:40 2012 +0300| [64e0dbf7d21e91b91c61a6171296e121066fdded] | committer: Rémi Denis-Courmont
bootstrap: use shell rather than find and sed
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=64e0dbf7d21e91b91c61a6171296e121066fdded
---
bootstrap | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/bootstrap b/bootstrap
index 415b1c8..9230bd6 100755
--- a/bootstrap
+++ b/bootstrap
@@ -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
More information about the vlc-commits
mailing list