Index: android/patch_locale.sh |
diff --git a/android/patch_locale.sh b/android/patch_locale.sh |
index 1724a8af7ade7c6f70c46498667966360a3e5a66..bc860b4c285e12e99c8d18ca569ca12423b12765 100755 |
--- a/android/patch_locale.sh |
+++ b/android/patch_locale.sh |
@@ -15,7 +15,12 @@ do |
done |
KEEPLIST="(${KEEPLIST})" |
-cd $(dirname $0)/../source/data |
+cd "$(dirname "$0")/.." |
+ |
+echo "Applying brkitr.patch" |
+patch -p1 < android/brkitr.patch || { echo "failed to patch"; exit 1; } |
+ |
+cd source/data |
for i in curr/*.txt |
do |