mesa/bin
Brian Paul a3b2e60aa0 git_sha1_gen: accept MESA_GIT_SHA1_OVERRIDE env var
If one uses a parent build script to download/build Mesa we may not
have a full git repository (maybe a tar archive) so the 'git rev-parse'
command will fail.

This updates the script to look for a MESA_GIT_SHA1_OVERRIDE env var.
If it's set, use that sha1 instead of using git rev-parse.  With this
change we can put a git hash in the GL_VERSION string even when we
don't have a git repo.

v2: incorporate Dylan's suggestions to simplify the code

Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
2017-10-10 11:28:31 -06:00
..
.editorconfig
.gitignore
bugzilla_mesa.sh
get-extra-pick-list.sh
get-fixes-pick-list.sh bin/get-fixes-pick-list.sh: better identify multiple "fixes:" tags 2017-06-15 15:53:21 +03:00
get-pick-list.sh
get-typod-pick-list.sh
git_sha1_gen.py git_sha1_gen: accept MESA_GIT_SHA1_OVERRIDE env var 2017-10-10 11:28:31 -06:00
install_megadrivers.py meson: Build i965 and dri stack 2017-10-09 13:42:44 -07:00
perf-annotate-jit.py bin/*py: honor editorconfig formatting 2017-05-09 14:06:52 +03:00
shortlog_mesa.sh