[Android] Rename: we need to change the path in the jni too

Jean-Baptiste Kempf git at videolan.org
Fri Jun 29 01:54:25 CEST 2012


android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jun 29 01:54:08 2012 +0200| [cfef486e251a79d6f19b79cfc876748f96fbdb27] | committer: Jean-Baptiste Kempf

Rename: we need to change the path in the jni too

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

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

diff --git a/rename_package.sh b/rename_package.sh
index 676cdff..b30c60f 100755
--- a/rename_package.sh
+++ b/rename_package.sh
@@ -10,7 +10,7 @@ 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" \) -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" -o -name "*.c" \) -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