Commit adea68a8 authored by Eric Engestrom's avatar Eric Engestrom

git_sha1_gen: fix output on python3

String handling has changed on python3.

Before this patch, on python3:
	#define MESA_GIT_SHA1 "git-b'b99dcbfe'"
	#define MESA_GIT_SHA1 "git-b99dcbfe"

(No change on python2, it always looked ok)

Cc: Jose Fonseca <>
Fixes: b99dcbfe "build: Convert git_sha1_gen script to Python."
Signed-off-by: Eric Engestrom's avatarEric Engestrom <>
Reviewed-by: Jose Fonseca's avatarJose Fonseca <>
parent f3ed1d2f
......@@ -12,7 +12,7 @@ try:
], stderr=open(os.devnull, 'w'))
], stderr=open(os.devnull, 'w')).decode("ascii")
# don't print anything if it fails
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment