core/glibc: fix locale-gen

This commit is contained in:
Kevin Mihelich 2014-01-19 19:40:27 +00:00
parent 7bfbbd17c9
commit 18000196bd
2 changed files with 3 additions and 3 deletions

View file

@ -16,7 +16,7 @@ noautobuild=1
pkgname=glibc
pkgver=2.18
pkgrel=12
pkgrel=12.1
pkgdesc="GNU C Library"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/libc"
@ -61,7 +61,7 @@ md5sums=('88fbbceafee809e82efd52efa1e3c58f'
'd5fab2cd3abea65aa5ae696ea4a47d6b'
'da662ca76e7c8d7efbc7986ab7acea2d'
'07ac979b6ab5eeb778d55f041529d623'
'b5fd017036fb91199ee76f670da8c15b')
'6ecb35c118201e150fede92dd75747b5')
prepare() {
cd ${srcdir}/${pkgname}-${pkgver}

View file

@ -35,7 +35,7 @@ gen() {
localedef -i "$input" -c -f "$charset" -A /usr/share/locale/locale.alias "$locale"
}
maxjobs=$(grep -c processor /proc/cpuinfo 2>/dev/null || echo 1)
maxjobs=$(grep -ci processor /proc/cpuinfo 2>/dev/null || echo 1)
echo "Generating locales..."
while read locale charset; do \
case $locale in