diff --git a/eb_hooks.py b/eb_hooks.py index ea722b8c04..62c5ee3eb6 100644 --- a/eb_hooks.py +++ b/eb_hooks.py @@ -979,7 +979,7 @@ def pre_package_eessi_extend(self, *args, **kwargs): for root, _, files in os.walk(self.installdir): dir_tree.append(root) for f in files: - tree.append(os.path.join(root, f)) + dir_tree.append(os.path.join(root, f)) for entry in dir_tree: print(entry) os.stat(entry)