SPECS: grub2.spec - builds for me too when switching to gawk

Przemyslaw Iskra sparky at pld-linux.org
Tue Dec 5 20:05:10 CET 2006


On Tue, Dec 05, 2006 at 08:41:08PM +0200, Elan Ruusamäe wrote:
> On Tuesday 05 December 2006 20:28, Przemyslaw Iskra wrote:

> > anyway, try exporting LC_ALL=C
> 
> it's "default" already:
> 
> $ rpm -E %build
> %build
> LANG=C
> export LANG
> unset DISPLAY ||:
> unset LINGUAS ||:

not good enough

[sparky at pepec ~]$ LC_ALL= LC_NUMERIC=ca_ES LANG=C LINGUAS= gawk 'BEGIN { A = 3; A = A / 2; printf A "\n"; }'
1,5
[sparky at pepec ~]$ LC_ALL= LC_NUMERIC=POSIX LANG=C LINGUAS= gawk 'BEGIN { A = 3; A = A / 2; printf A "\n"; }'
1.5

I think we should set LC_ALL=C, because if someone sets LC_ALL to
anything it will mess up a lot.


-- 
 ____  Sparky{PI] -- Przemyslaw _  ___  _  _  ........... LANG...Pl..Ca..Es..En
/____) ___  ___  _ _ || Iskra  |  | _ \| |  | : WWW........ppcrcd.pld-linux.org
\____\| -_)'___| ||^'||//\\// <   |  _/| |  | : JID......sparky<at>jabberes.org
(____/||   (_-_|_||  ||\\ ||   |_ |_|  |_| _| : Mail....sparky<at>pld-linux.org


More information about the pld-devel-en mailing list