Skip to content

Commit

Permalink
Make path calculation platform independent
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyhylton committed Apr 4, 2006
1 parent c410d6c commit 76c21bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Parser/asdl_c.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 76c21bd

Please sign in to comment.