diff --git a/pym/builder/variables/builder.py b/pym/builder/variables/builder.py index 56584f6..4628e47 100644 --- a/pym/builder/variables/builder.py +++ b/pym/builder/variables/builder.py @@ -1164,7 +1164,7 @@ class VariableClBuilderSquashExclude(ReadonlyVariable): for exclude_dn in exclude_dirs: dn = pathJoin(builder_path, rep_dn, exclude_dn) if path.exists(dn): - yield path.join(rep_dn, exclude_dn) + yield path.join(rep_dn, exclude_dn)[1:] if not keep_tree and builder_path: return list(generator())