scons: insert 'git-' into MESA_GIT_SHA1 string
authorBrian Paul <brianp@vmware.com>
Wed, 28 Sep 2011 15:51:36 +0000 (09:51 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 28 Sep 2011 15:51:45 +0000 (09:51 -0600)
To match makefile build.

src/mesa/SConscript

index 3d5d37ae099e35625484870ff87cb37ab286b72c..abcce41331c298f150cfdd5fcef630b80f7dd5f0 100644 (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)