summaryrefslogtreecommitdiff
path: root/bin/git_sha1_gen.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/git_sha1_gen.py')
-rwxr-xr-xbin/git_sha1_gen.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/git_sha1_gen.py b/bin/git_sha1_gen.py
index c6240662df3..7741159816b 100755
--- a/bin/git_sha1_gen.py
+++ b/bin/git_sha1_gen.py
@@ -47,6 +47,6 @@ args = parser.parse_args()
git_sha1 = os.environ.get('MESA_GIT_SHA1_OVERRIDE', get_git_sha1())[:10]
if git_sha1:
- write_if_different('#define MESA_GIT_SHA1 "git-' + git_sha1 + '"')
+ write_if_different('#define MESA_GIT_SHA1 " (git-' + git_sha1 + ')"')
else:
- write_if_different('')
+ write_if_different('#define MESA_GIT_SHA1 ""')