Commit 14676881 authored by Jeremy Hylton's avatar Jeremy Hylton

Make path calculation platform independent

parent c3f440f0
......@@ -732,7 +732,7 @@ def main(srcfile):
f.close()
if SRC_DIR:
p = "%s/%s-ast.c" % (SRC_DIR, mod.name)
p = os.path.join(SRC_DIR, str(mod.name) + "-ast.c")
else:
p = "%s-ast.c" % mod.name
f = open(p, "wb")
......
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