Use the filename, not the pathname, in the definitions file
comment. This way the generated files are identical when generated on different machines.
This commit is contained in:
parent
e99bd17ed6
commit
d67566b0f0
|
@ -392,7 +392,7 @@ if missing: raise "Missing Types"
|
|||
self.report("(No symbol definitions will be written)")
|
||||
else:
|
||||
self.report("defsfile = %s", `self.defsfile.name`)
|
||||
self.defsfile.write("# Generated from %s\n\n" % `inputname`)
|
||||
self.defsfile.write("# Generated from %s\n\n" % `os.path.split(inputname)[1]`)
|
||||
self.writeinitialdefs()
|
||||
self.alreadydone = []
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue