]> git.decadent.org.uk Git - dak.git/blobdiff - dak/copy_installer.py
Ensure symlinks get copied as symlinks, not their contents
[dak.git] / dak / copy_installer.py
index 6bc8660174f749beafe48a147dfc6905c753aa8a..34ae3215ef4a9834078f2f99aee697757a89b6b4 100755 (executable)
@@ -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)