rename_package.sh 351 Bytes
Newer Older
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
1
2
3
4
5
6
7
8
9
10
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'