Permalink
Browse files

Create build dir if not already there (e.g. fresh download)

  • Loading branch information...
1 parent 3c9de15 commit 985b3c7f9a97c508cf087e13e8aafd34e6a0056b @peterjc peterjc committed Apr 9, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 do2to3.py
View
@@ -162,6 +162,8 @@ def main(python2_source, python3_source,
#may differ slightly.
print("The 2to3 library will be called automatically now,")
print("and the converted files cached under %s" % python3_source)
+ if not os.path.isdir("build"):
+ os.mkdir("build")
if not os.path.isdir(python3_source):
os.mkdir(python3_source)
for child in children:

0 comments on commit 985b3c7

Please sign in to comment.