diff options
author | 2014-12-28 18:45:18 +0000 | |
---|---|---|
committer | 2014-12-28 18:45:18 +0000 | |
commit | 3987637cde3e657884758ac62db5166b4713e5e2 (patch) | |
tree | c5d215b19f7ff00a568120472d2a66d96f1d93f2 | |
parent | locale-gen: write out localedef error messages when in quiet mode (diff) | |
download | locale-gen-3987637cde3e657884758ac62db5166b4713e5e2.tar.gz locale-gen-3987637cde3e657884758ac62db5166b4713e5e2.tar.bz2 locale-gen-3987637cde3e657884758ac62db5166b4713e5e2.zip |
extra/locale/locale-gen: source /lib/gentoo/functions.sh, bug #478764
-rwxr-xr-x | locale-gen | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 } |