[vlc-devel] commit: cmake: Fix bootstrap script. (Pierre d'Herbemont )

git version control git at videolan.org
Fri May 9 12:37:17 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Fri May  9 12:37:50 2008 +0200| [2d278d72dddc1d3be16f60730fba8ef01334e5ee]

cmake: Fix bootstrap script.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2d278d72dddc1d3be16f60730fba8ef01334e5ee
---

 .../cmake/scripts/convert_modules_to_cmake.sh      |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/extras/buildsystem/cmake/scripts/convert_modules_to_cmake.sh b/extras/buildsystem/cmake/scripts/convert_modules_to_cmake.sh
index 0feb0d9..5918419 100755
--- a/extras/buildsystem/cmake/scripts/convert_modules_to_cmake.sh
+++ b/extras/buildsystem/cmake/scripts/convert_modules_to_cmake.sh
@@ -3,7 +3,7 @@ echo "Searching $1"
 for file in `find $1 -name "Modules.am"`; do
      cmake_file=`dirname $file`/CMakeLists.txt
      echo "Creating $cmake_file"
-     cat $file | perl -ne 's/\\\n/ /g; print' | sed -n -e "s/^SOURCES_\(.*\)[ ]*=\(.*\)$/vlc_add_module( \1 \2 )/p" | tr '\t' ' '  | sed 's/  */ /g'  | sed 's/\$(NULL)//g' > $cmake_file
+     cat $file | perl -ne 's/\\\n/ /g; print' | sed -n -e "s/^SOURCES_\([^\ ]*\)[ ]*=\(.*\)$/vlc_add_module( \1 \2 )/p" | tr '\t' ' '  | sed 's/  */ /g'  | sed 's/\$(NULL)//g' > $cmake_file
      dir=`dirname $file`
      echo "" >> $cmake_file
      for subdirfile in `find $dir -name "Modules.am"`; do




More information about the vlc-devel mailing list