Commit d731f473 authored by Nils Goroll's avatar Nils Goroll

rewrite vmod_abi.h / vcs_version.h only if git hash changed

This got lost with a29fca70
parent baea8798
......@@ -837,8 +837,11 @@ try:
except IOError:
i = ""
if i != "/* " + v + " */":
ident = "/* " + v + " */\n"
if i != ident:
fo = open(vcsfn, "w")
fo.write(ident)
file_header(fo)
fo.write('#define VCS_Version "%s"\n' % v)
fo.close()
......
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