[dak/master] Ensure symlinks get copied as symlinks, not their contents
Signed-off-by: Joerg Jaspert <joerg@debian.org>
---
dak/copy_installer.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dak/copy_installer.py b/dak/copy_installer.py
index 6bc8660..34ae321 100755
--- a/dak/copy_installer.py
+++ b/dak/copy_installer.py
@@ -121,7 +121,7 @@ Architectures to skip: %(skip_arch_list)s""" % {
def do_copy(self):
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:
if os.path.lexists(dest):
os.unlink(dest)
--
1.5.6.5
Reply to: