summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2017-10-09 13:47:20 -0600
committerBrian Paul <[email protected]>2017-10-10 11:28:31 -0600
commita3b2e60aa00218750e76db29ff211d4958f4c752 (patch)
tree1ce0857a4d1ddfb02092daef06336e82820b2a24 /.gitignore
parentc43b0d3f9184752e848ef0ab617cca48c60246ec (diff)
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 <[email protected]> Reviewed-by: Dylan Baker <[email protected]>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions