Commit 92522d4e authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

Fix rename script

parent d420f57a
......@@ -3,9 +3,12 @@
OLD_NAME=org.videolan.vlc
NEW_NAME=org.videolan.vlc.beta_v7neon
OLD_PATH=org/videolan/vlc/
NEW_PATH=org/videolan/vlc_beta_v7neon/
OLD_PATH=$(echo $OLD_NAME |sed 's/\./\//g')
NEW_PATH=$(echo $NEW_NAME |sed 's/\./\//g')
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'
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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment