Fix the corner case in version generation script.
authorLei Zhang <antiagainst@google.com>
Fri, 11 Mar 2016 20:03:04 +0000 (15:03 -0500)
committerLei Zhang <antiagainst@google.com>
Fri, 11 Mar 2016 20:06:15 +0000 (15:06 -0500)
commit9149a66ca406d86967b104cac209bad309fd2c33
treec5054fe26c852d5a166d817ac4b7faaf85d842af
parent9dd1cd7f31779dc60ac49d550ec4c164b2fd7be4
Fix the corner case in version generation script.

When the given directory is not inside the SPIRV-Tools project,
describe() returns a str instance instead of bytes instance
in Python3, which will case problem when calling decode() on it.
utils/update_build_version.py