From 3987637cde3e657884758ac62db5166b4713e5e2 Mon Sep 17 00:00:00 2001 From: blueness Date: Sun, 28 Dec 2014 18:45:18 +0000 Subject: extra/locale/locale-gen: source /lib/gentoo/functions.sh, bug #478764 --- locale-gen | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/locale-gen b/locale-gen index eddbf58..cae26e3 100755 --- a/locale-gen +++ b/locale-gen @@ -14,8 +14,9 @@ if [[ ${EPREFIX} == "@"GENTOO_PORTAGE_EPREFIX"@" ]] ; then EPREFIX="" fi -source "${EPREFIX}"/etc/init.d/functions.sh || { - echo "${argv0}: Could not source /etc/init.d/functions.sh!" 1>&2 +FUNCTIONS_SH="/lib/gentoo/functions.sh" +source "${EPREFIX}"${FUNCTIONS_SH} || { + echo "${argv0}: Could not source ${FUNCTIONS_SH}!" 1>&2 exit 1 } @@ -51,7 +52,7 @@ show_usage() { } show_version() { local b="(" a=")" - local cvsver="$Revision: 1.35 $b $Date: 2014/06/13 22:07:18 $a" + local cvsver="$Revision: 1.36 $b $Date: 2014/12/28 18:45:18 $a" echo "locale-gen-${cvsver//: }" exit 0 } -- cgit v1.2.3-65-gdbad