Commit 70c0c687 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

Trying again to fix jni renaming

parent cfef486e
...@@ -10,7 +10,8 @@ mv vlc-android/src/${OLD_PATH} vlc-android/src/tmp ...@@ -10,7 +10,8 @@ mv vlc-android/src/${OLD_PATH} vlc-android/src/tmp
mkdir -p vlc-android/src/${OLD_PATH} mkdir -p vlc-android/src/${OLD_PATH}
mv vlc-android/src/tmp vlc-android/src/${NEW_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" -o -name "*.c" \) -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" \) -print0 | xargs -0 sed -ri "s/${OLD_NAME}/${NEW_NAME}/g"
find vlc-android \( -name "*.c" \) -print0 | xargs -0 sed -ri "s,${OLD_PATH},${NEW_PATH},g"
sed -ri "s,${OLD_PATH},${NEW_PATH},g" Makefile 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" find vlc-android/jni/* -print0 | xargs -0 sed -ri "s,$(echo $OLD_NAME |sed 's/\./_/g'),$(echo $NEW_NAME |sed 's/\./_/g'),g"
Supports Markdown
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