scons: insert 'git-' into MESA_GIT_SHA1 string
To match makefile build.
This commit is contained in:
parent
e112287474
commit
d487cc23a1
|
@ -480,7 +480,7 @@ def write_git_sha1_h_file(filename):
|
|||
f.close()
|
||||
return
|
||||
|
||||
commit = '#define MESA_GIT_SHA1 "%s"\n' % commit[0:7]
|
||||
commit = '#define MESA_GIT_SHA1 "git-%s"\n' % commit[0:7]
|
||||
tempfile = "git_sha1.h.tmp"
|
||||
f = open(tempfile, "w")
|
||||
f.write(commit)
|
||||
|
|
Loading…
Reference in New Issue