diff options
-rw-r--r-- | lib/spack/spack/stage.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/stage.py b/lib/spack/spack/stage.py index bffd06ab73..df1f6761ac 100644 --- a/lib/spack/spack/stage.py +++ b/lib/spack/spack/stage.py @@ -533,7 +533,7 @@ class Stage(object): for entry in hidden_entries + entries: if os.path.isdir(entry): d = os.path.join(dest, os.path.basename(entry)) - shutil.copytree(entry, d) + shutil.copytree(entry, d, symlinks=True) else: shutil.copy2(entry, dest) |