Browse Source

deploy-ng: Fix error when build directory is missing

Mitchell Stokes 8 years ago
parent
commit
949214834c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/showutil/dist.py

+ 1 - 1
direct/src/showutil/dist.py

@@ -159,7 +159,7 @@ class build_apps(distutils.core.Command):
 
 
         if os.path.exists(builddir):
         if os.path.exists(builddir):
             shutil.rmtree(builddir)
             shutil.rmtree(builddir)
-        os.mkdir(builddir)
+        os.makedirs(builddir)
 
 
         path = sys.path[:]
         path = sys.path[:]
         p3dwhl = None
         p3dwhl = None