On Fr, 2013-09-13 at 14:21 +0200, Gerd Hoffmann wrote:
Recent git versions place the submodule git repos into
.git/modules directory of the toplevel repo. In that case
.git of the seabios tree isn't a directory, but a regular
file, saying where the gitdir is.
Extent the git check to also allow .git being a regular file,
so buildversion.sh works correctly when called within the qemu