[Android] Trying again to fix jni renaming

Jean-Baptiste Kempf git at videolan.org
Fri Jun 29 03:11:38 CEST 2012


android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jun 29 03:08:16 2012 +0200| [70c0c687812c261e02f16ace858f6e564188024d] | committer: Jean-Baptiste Kempf

Trying again to fix jni renaming

> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=70c0c687812c261e02f16ace858f6e564188024d
---

 rename_package.sh |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/rename_package.sh b/rename_package.sh
index b30c60f..d0b261f 100755
--- a/rename_package.sh
+++ b/rename_package.sh
@@ -10,7 +10,8 @@ mv vlc-android/src/${OLD_PATH} vlc-android/src/tmp
 mkdir -p vlc-android/src/${OLD_PATH}
 mv vlc-android/src/tmp vlc-android/src/${NEW_PATH}
 
-find vlc-android \( -name "*.xml" -o -name "*.java" -o -name "*.cfg" -o -name "*.aidl" -o -name "*.c" \) -print0 | xargs -0 sed -ri "s/${OLD_NAME}/${NEW_NAME}/g"
+find vlc-android \( -name "*.xml" -o -name "*.java" -o -name "*.cfg" -o -name "*.aidl" \) -print0 | xargs -0 sed -ri "s/${OLD_NAME}/${NEW_NAME}/g"
+find vlc-android \( -name "*.c" \) -print0 | xargs -0 sed -ri "s,${OLD_PATH},${NEW_PATH},g"
 sed -ri "s,${OLD_PATH},${NEW_PATH},g" Makefile
 
 find vlc-android/jni/* -print0 | xargs -0  sed -ri "s,$(echo $OLD_NAME |sed 's/\./_/g'),$(echo $NEW_NAME |sed 's/\./_/g'),g"



More information about the Android mailing list