git_sha1_gen: fix output on python3
authorEric Engestrom <eric.engestrom@imgtec.com>
Wed, 2 Aug 2017 14:01:21 +0000 (15:01 +0100)
committerEric Engestrom <eric.engestrom@imgtec.com>
Mon, 25 Sep 2017 13:58:26 +0000 (14:58 +0100)
commitadea68a8a26767c46a6d5bee410c5a334f9226d1
tree1574540ec8da7a020ed8db06a459e038a4f28c15
parentf3ed1d2f6b0fac9af64279eed96afa45e511650b
git_sha1_gen: fix output on python3

String handling has changed on python3.

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

(No change on python2, it always looked ok)

Cc: Jose Fonseca <jfonseca@vmware.com>
Fixes: b99dcbfeb344390fea99 "build: Convert git_sha1_gen script to Python."
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
bin/git_sha1_gen.py