[Android] Rename package script
Jean-Baptiste Kempf
git at videolan.org
Sat Jun 23 18:51:33 CEST 2012
android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Jun 23 18:50:34 2012 +0200| [d420f57acb37facd7b3a6d97beab3b99cf8af3a6] | committer: Jean-Baptiste Kempf
Rename package script
> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=d420f57acb37facd7b3a6d97beab3b99cf8af3a6
---
rename_package.sh | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/rename_package.sh b/rename_package.sh
new file mode 100644
index 0000000..6ec947f
--- /dev/null
+++ b/rename_package.sh
@@ -0,0 +1,11 @@
+#! /bin/sh
+
+OLD_NAME=org.videolan.vlc
+NEW_NAME=org.videolan.vlc.beta_v7neon
+
+OLD_PATH=org/videolan/vlc/
+NEW_PATH=org/videolan/vlc_beta_v7neon/
+
+mv vlc-android/src/${OLD_PATH} 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_PATH}/${NEW_PATH}/g'
+
More information about the Android
mailing list