Adding an escape for '/' char inside the regex's char classe, looks like it is needed...
authorBastien Montagne <montagne29@wanadoo.fr>
Tue, 13 Nov 2012 18:04:52 +0000 (18:04 +0000)
committerBastien Montagne <montagne29@wanadoo.fr>
Tue, 13 Nov 2012 18:04:52 +0000 (18:04 +0000)
build_files/build_environment/install_deps.sh

index 05a3c895d1c65c5161439fda9617e29c76397eaf..30c2afebf5e22ab0c7fa193c9046d217a42ab4ba 100755 (executable)
@@ -552,7 +552,7 @@ print_info_ffmpeglink_DEB() {
     _packages="$_packages libschroedinger-dev"
   fi
 
-  dpkg -L $_packages | grep -e ".*\/lib[^\/]\+\.so" | awk '{ printf(nlines ? "'"$_ffmpeg_list_sep"'%s" : "%s", gensub(/.*lib([^/]+)\.so/, "\\1", "g", $0)); nlines++ }'
+  dpkg -L $_packages | grep -e ".*\/lib[^\/]\+\.so" | awk '{ printf(nlines ? "'"$_ffmpeg_list_sep"'%s" : "%s", gensub(/.*lib([^\/]+)\.so/, "\\1", "g", $0)); nlines++ }'
 }
 
 print_info_ffmpeglink() {