diff options
author | Patrick Georgi <pgeorgi@google.com> | 2017-10-19 03:45:25 -0400 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2017-10-20 09:40:09 +0000 |
commit | 44aaf6137d0e000d6a83ca036aad5722b485d716 (patch) | |
tree | 820cb605c84d59e6dd97d2aaa8fe1aa92d89265b /util/kconfig/zconf.lex.c_shipped | |
parent | fe84292eeb0ccc2b436d3c20c598aac0dec5d4fd (diff) |
util/genbuild_h: improve robustness against corrupt .git directories
The new test lets git check if $top is actually a git repo, instead of
just looking for clues.
BUG=chromium:776174
BRANCH=none
TEST=`mv .git .foo; mkdir .git; util/genbuild_h/genbuild_h.sh` provides
a valid build.h instead of failing because git is unhappy about the
.git directory.
Change-Id: I7fcc64d66e0b59fca1479b4c142fd0559aa984f4
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/22107
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'util/kconfig/zconf.lex.c_shipped')
0 files changed, 0 insertions, 0 deletions