Commit b7a2b019 authored by jim's avatar jim

Fixed egg-copying bug.


git-svn-id: http://svn.zope.org/repos/main/zc.buildout/trunk@68865 62d5b8a3-27da-0310-9561-8e5933582275
parent 4fa396af
......@@ -183,6 +183,9 @@ class Buildout(dict):
os.path.basename(dist.location))
entries.append(dest)
if not os.path.exists(dest):
if os.path.isdir(dist.location):
shutil.copytree(dist.location, dest)
else:
shutil.copy2(dist.location, dest)
# Create buildout script
......
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