[vlc-devel] commit: contrib: Fix change_prefix for .la. (Pierre d'Herbemont )

git version control git at videolan.org
Sat Sep 27 15:32:07 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat Sep 27 15:23:58 2008 +0200| [c03a03009a96b6494f4e7b8f3a00a406e6ebb6dd] | committer: Pierre d'Herbemont 

contrib: Fix change_prefix for .la.

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

 extras/contrib/change_prefix.sh |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/extras/contrib/change_prefix.sh b/extras/contrib/change_prefix.sh
index c819709..f507b08 100755
--- a/extras/contrib/change_prefix.sh
+++ b/extras/contrib/change_prefix.sh
@@ -68,9 +68,7 @@ for file in $files; do
   fi
 done
 
-cd $new_prefix2/lib/
-pwd
-files=` ls -1 *.la`
+files=`find . -name *.la`
 for file in $files; do
    echo "Fixing up .la $file"
    sed -e "s,$prefix,$new_prefix,g" < $file > $file.tmp




More information about the vlc-devel mailing list