diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-04-15 20:04:44 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-04-15 20:04:44 +0000 |
commit | 1fc9f88f1bf4ce01a43d6c25a8d91164ba4582b6 (patch) | |
tree | 7feb401bf52bbb17d16528b7ce50c1bcc3039ebe /sys-libs | |
parent | add makeopts_jobs for extracting the -j# from MAKEOPTS (diff) | |
download | gentoo-2-1fc9f88f1bf4ce01a43d6c25a8d91164ba4582b6.tar.gz gentoo-2-1fc9f88f1bf4ce01a43d6c25a8d91164ba4582b6.tar.bz2 gentoo-2-1fc9f88f1bf4ce01a43d6c25a8d91164ba4582b6.zip |
Use new makeopts_jobs helper from eutils.eclass.
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/glibc/ChangeLog | 6 | ||||
-rw-r--r-- | sys-libs/glibc/files/eblits/pkg_postinst.eblit | 8 |
2 files changed, 8 insertions, 6 deletions
diff --git a/sys-libs/glibc/ChangeLog b/sys-libs/glibc/ChangeLog index 9262b8222146..f9d78f16a105 100644 --- a/sys-libs/glibc/ChangeLog +++ b/sys-libs/glibc/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-libs/glibc # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/ChangeLog,v 1.831 2012/04/14 21:59:46 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/ChangeLog,v 1.832 2012/04/15 20:04:44 vapier Exp $ + + 15 Apr 2012; Mike Frysinger <vapier@gentoo.org> + files/eblits/pkg_postinst.eblit: + Use new makeopts_jobs helper from eutils.eclass. 14 Apr 2012; Mike Frysinger <vapier@gentoo.org> files/eblits/src_compile.eblit: diff --git a/sys-libs/glibc/files/eblits/pkg_postinst.eblit b/sys-libs/glibc/files/eblits/pkg_postinst.eblit index 2566eed35522..9e5447d26754 100644 --- a/sys-libs/glibc/files/eblits/pkg_postinst.eblit +++ b/sys-libs/glibc/files/eblits/pkg_postinst.eblit @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/pkg_postinst.eblit,v 1.1 2009/03/01 21:06:22 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/pkg_postinst.eblit,v 1.2 2012/04/15 20:04:44 vapier Exp $ eblit-glibc-pkg_postinst() { # nothing to do if just installing headers @@ -22,8 +22,6 @@ eblit-glibc-pkg_postinst() { ewarn "Generating all locales; edit /etc/locale.gen to save time/space" locale_list="${ROOT}usr/share/i18n/SUPPORTED" fi - local x jobs - for x in ${MAKEOPTS} ; do [[ ${x} == -j* ]] && jobs=${x#-j} ; done - locale-gen -j ${jobs:-1} --config "${locale_list}" + locale-gen -j $(makeopts_jobs) --config "${locale_list}" fi } |