From 64cf6bb223423578b4aba393727debf0bb7295bd Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 22 Oct 2012 01:32:16 -0400 Subject: Move common load/init logic into libopkhelper. --- (limited to 'src/oh-strip.sh') diff --git a/src/oh-strip.sh b/src/oh-strip.sh index bf328a5..96c4d3f 100644 --- a/src/oh-strip.sh +++ b/src/oh-strip.sh @@ -19,10 +19,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -. '@@LIBOPKBUILD_1@@/load.sm' - -ob_use locale -ob_use output +. '@@LIBOPKHELPER@@/load.sm' CR=' ' @@ -32,8 +29,7 @@ main() dir='dest' keep_debug='false' - ob_set_locale_path '@@LOCALEDIR@@/%s/LC_MESSAGES/%s.ms' - ob_set_text_domain 'opkhelper' + oh_init while getopts 'd:k' opt; do case "${opt}" in -- cgit v0.9.1