summaryrefslogtreecommitdiffstats
path: root/src/mesa/SConscript
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-09-28 09:51:36 -0600
committerBrian Paul <[email protected]>2011-09-28 09:51:45 -0600
commitd487cc23a17ad5216f7aaed478402cf23c7837ab (patch)
treeefa2011682c9a51c7197a9ae09e785dd1fb62686 /src/mesa/SConscript
parente112287474e225969fb10e6bc744d9c48a853fc6 (diff)
scons: insert 'git-' into MESA_GIT_SHA1 string
To match makefile build.
Diffstat (limited to 'src/mesa/SConscript')
-rw-r--r--src/mesa/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/SConscript b/src/mesa/SConscript
index 3d5d37ae099..abcce41331c 100644
--- a/src/mesa/SConscript
+++ b/src/mesa/SConscript
@@ -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)