[Android] Try to fix renaming of packages in JNI

Jean-Baptiste Kempf git at videolan.org
Thu Jun 28 18:11:46 CEST 2012


android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Jun 28 18:07:51 2012 +0200| [72c5d6bc5b3542079c8bdccb0787debe3b40dc7a] | committer: Jean-Baptiste Kempf

Try to fix renaming of packages in JNI

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

 rename_package.sh |    1 +
 1 file changed, 1 insertion(+)

diff --git a/rename_package.sh b/rename_package.sh
index b5ddda9..676cdff 100755
--- a/rename_package.sh
+++ b/rename_package.sh
@@ -13,3 +13,4 @@ mv vlc-android/src/tmp vlc-android/src/${NEW_PATH}
 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"
 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