Commit 224ece82 authored by Tristan Gingold's avatar Tristan Gingold

gen_sourceid.py: fix a typo.

parent 0d76517c
......@@ -11,7 +11,7 @@ with open("sourceid_{}_pkg.vhd".format(project), "w") as f:
["git", "log", "-1", "--format=%H"]).decode().strip()
sourceid = sourceid[0:32]
except:
commitid = 16 * "00"
sourceid = 16 * "00"
# Extract current tag + dirty indicator.
# It is not sure if the definition of dirty is stable across all git versions.
......
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