| Index: android/patch_locale.sh
|
| diff --git a/android/patch_locale.sh b/android/patch_locale.sh
|
| index 1724a8af7ade7c6f70c46498667966360a3e5a66..ea970dd9662a685e4085a3655818d091b6c87a7f 100755
|
| --- a/android/patch_locale.sh
|
| +++ b/android/patch_locale.sh
|
| @@ -1,4 +1,4 @@
|
| -#!/bin/sh
|
| +#!/bin/bash
|
| # Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
| @@ -8,7 +8,7 @@
|
| # TODO(jshin): Use ucurr_isAvailable in ICU to drop more currencies.
|
| # See also http://en.wikipedia.org/wiki/List_of_circulating_currencies
|
| # Copied from scripts/trim_data.sh. Need to refactor.
|
| -for currency in $(grep -v '^#' currencies.list)
|
| +for currency in $(grep -v '^#' $(dirname $0)/currencies.list)
|
| do
|
| OP=${KEEPLIST:+|}
|
| KEEPLIST=${KEEPLIST}${OP}${currency}
|
| @@ -134,6 +134,7 @@ done
|
| COMMON_CALENDARS="gregorian|generic"
|
| for i in locales/*.txt; do
|
| CALENDARS="${COMMON_CALENDARS}"
|
| + EXTRA_CAL=
|
| case $(basename $i .txt | sed 's/_.*$//') in
|
| th)
|
| EXTRA_CAL='buddhist'
|
|
|