summaryrefslogtreecommitdiffstats
path: root/lib/locale.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/locale.sh')
-rw-r--r--lib/locale.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/locale.sh b/lib/locale.sh
index 8479c85..d30a684 100644
--- a/lib/locale.sh
+++ b/lib/locale.sh
@@ -19,6 +19,9 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+[ -n "${_OH_LOCALE_SH}" ] && return 0
+_OH_LOCALE_SH=true
+
oh_locale_set()
{
_locale="${1}"