From de5723ed7d5687460fa2a816f27dae67293c45e6 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Wed, 19 Jan 2011 19:49:00 +0100 Subject: [PATCH] Ensure symlinks get copied as symlinks, not their contents Signed-off-by: Joerg Jaspert --- dak/copy_installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dak/copy_installer.py b/dak/copy_installer.py index 6bc86601..34ae3215 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) -- GitLab