scons: insert 'git-' into MESA_GIT_SHA1 string

To match makefile build.
This commit is contained in:
Brian Paul 2011-09-28 09:51:36 -06:00
parent e112287474
commit d487cc23a1
1 changed files with 1 additions and 1 deletions

View File

@ -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)