提交 c9cd9c10 编写于 作者: T Torsten Werner
...@@ -121,7 +121,7 @@ Architectures to skip: %(skip_arch_list)s""" % { ...@@ -121,7 +121,7 @@ Architectures to skip: %(skip_arch_list)s""" % {
def do_copy(self): def do_copy(self):
for source, dest in self.trees_to_copy: for source, dest in self.trees_to_copy:
shutil.copytree(source, dest) shutil.copytree(source, dest, symlinks=True)
for source, dest in self.symlinks_to_create: for source, dest in self.symlinks_to_create:
if os.path.lexists(dest): if os.path.lexists(dest):
os.unlink(dest) os.unlink(dest)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册