[Android] rename_package.sh: accomodate for subdirectories
Rafaël Carré
git at videolan.org
Wed Sep 5 14:43:38 CEST 2012
vlc-ports/android | branch: master | Rafaël Carré <funman at videolan.org> | Wed Sep 5 14:43:22 2012 +0200| [f1119ba4c945515f09345465a159026d51c3a57a] | committer: Rafaël Carré
rename_package.sh: accomodate for subdirectories
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=f1119ba4c945515f09345465a159026d51c3a57a
---
rename_package.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rename_package.sh b/rename_package.sh
index d0b261f..f64c3d1 100755
--- a/rename_package.sh
+++ b/rename_package.sh
@@ -14,4 +14,4 @@ find vlc-android \( -name "*.xml" -o -name "*.java" -o -name "*.cfg" -o -name "*
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
-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 -type f -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