SPECS: grub2.spec - builds for me too when switching to gawk
Elan Ruusamäe
glen at delfi.ee
Tue Dec 5 19:41:08 CET 2006
On Tuesday 05 December 2006 20:28, Przemyslaw Iskra wrote:
> On Tue, Dec 05, 2006 at 07:23:33PM +0100, glen wrote:
> > Author: glen Date: Tue Dec 5 18:23:33 2006 GMT
> > Module: SPECS Tag: HEAD
> > ---- Log message:
> > - builds for me too when switching to gawk
>
> localized decimal separator issue ?
no idea, didn't look into the script deeper.
> but in such case problem should appear with gawk, not mawk:
>
> $ gawk 'BEGIN { A = 3; A = A / 2; printf A "\n"; }'
> 1,5
> $ mawk 'BEGIN { A = 3; A = A / 2; printf A "\n"; }'
> 1.5
> $ LC_ALL=C gawk 'BEGIN { A = 3; A = A / 2; printf A "\n"; }'
> 1.5
> $ LC_ALL=C mawk 'BEGIN { A = 3; A = A / 2; printf A "\n"; }'
> 1.5
>
> anyway, try exporting LC_ALL=C
it's "default" already:
$ rpm -E %build
%build
LANG=C
export LANG
unset DISPLAY ||:
unset LINGUAS ||:
--
glen
More information about the pld-devel-en
mailing list