Commit c4471502 authored by Emmanuele Bassi's avatar Emmanuele Bassi

Fix builddir support for non-builddir modules

Once again: thanks, Python.
parent 0a589c30
......@@ -181,9 +181,10 @@ def main(args):
log("Found no-builddir Build API variable; copying source tree to _build")
if os.path.isdir('_build'):
shutil.rmtree('_build')
shutil.copytree('.', '_build', symlinks=True,
ignore=shutil.ignore_patterns('_build'))
use_builddir = False
shutil.copytree('.', '_build', symlinks=True,
ignore=shutil.ignore_patterns('_build'))
use_builddir = False
if use_builddir:
log("Using build directory %r" % (builddir, ))
......
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