build: Don't bail on OSError in git_sha1_gen.py
authorTobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
Wed, 2 Aug 2017 01:05:42 +0000 (03:05 +0200)
committerEric Engestrom <eric.engestrom@imgtec.com>
Wed, 2 Aug 2017 13:28:58 +0000 (14:28 +0100)
commit44828e99f9b5f04f8e2f19dd671de4d67ee1f595
tree0a9d68d7652bb3822016985d8c6d66dab2d9ce97
parente7499953267028f5d28257e0e932fafc346c2243
build: Don't bail on OSError in git_sha1_gen.py

When building sandboxed, we may encounter additional errors. Ignore the errors,
as we are in a constrained environment.

This can be observed when building latest git with OBS.

Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
bin/git_sha1_gen.py