From 710ca0fbb707828b9317dc09686b0accc0d6a5d6 Mon Sep 17 00:00:00 2001
From: P. J. McDermott <pjm@nac.net>
Date: Tue, 31 Jul 2012 10:50:22 -0400
Subject: Support locale setting.

---
(limited to 'src')

diff --git a/src/opkbuild.sh b/src/opkbuild.sh
index 865c350..54a22f3 100644
--- a/src/opkbuild.sh
+++ b/src/opkbuild.sh
@@ -19,9 +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/>.
 
-. @@LIBDIR@@/opkhelper/messages
-. @@LIBDIR@@/opkhelper/strings/en
-. @@LIBDIR@@/opkhelper/changelog
+. @@LIBDIR@@/messages
+. @@LIBDIR@@/locale
+. @@LIBDIR@@/changelog
 
 # Environment variables:
 export OH_SOURCE=
@@ -74,6 +74,8 @@ OPT_UID0_CMD=
 
 main()
 {
+	oh_locale_set
+
 	get_options
 
 	test_uid0_cmd
--
cgit v0.9.1