qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [ANNOUNCE] SeaBIOS 1.7.0


From: Eric Blake
Subject: Re: [Qemu-devel] [ANNOUNCE] SeaBIOS 1.7.0
Date: Mon, 16 Apr 2012 14:28:20 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1

On 04/15/2012 01:59 PM, Michael Tokarev wrote:
> On 15.04.2012 06:48, Kevin O'Connor wrote:
>> The 1.7.0 version of SeaBIOS has now been released.  For more
>> information on the release, please see:
>>
>> http://seabios.org/Releases
> 
> Um.  I can't compile it here, due to an error in ./tools/buildversion.sh.
> 
> $ sh -x ./tools/buildversion.sh out/vgaversion.c VAR16
> + OUTFILE=out/vgaversion.c
> + VAR16MODE=VAR16
> + [ -d .git ]
> + git describe --tags --long --dirty
> + VERSION=rel-1.7.0-0-ga026308
> + date +%Y%m%d_%H%M%S
> + hostname
> + VERSION=rel-1.7.0-0-ga026308-20120415_235702-gandalf
> + echo Version: rel-1.7.0-0-ga026308-20120415_235702-gandalf
> Version: rel-1.7.0-0-ga026308-20120415_235702-gandalf
> + [ VAR16 == VAR16 ]
> [: 1: VAR16: unexpected operator
> + cat
> 
> AFIAK, "==" operator is a bash(?) extension, standard
> POSIX shell only mentions "=" operator.

Not just a bash extension, as ksh and zsh have it too, but you are right
that dash doesn't implement it because POSIX 2008 (Issue 7) doesn't
require '==', just '='.  [There is a good chance that the next POSIX
revision (Issue 8) will require '==' as a synonym for '=', but as that
version of POSIX is still several years away, you're still better off
sticking to '=' for now.]

-- 
Eric Blake   address@hidden    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]