summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/util/listdir.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage/util/listdir.py b/pym/portage/util/listdir.py
index f73c97025..64d1a88b5 100644
--- a/pym/portage/util/listdir.py
+++ b/pym/portage/util/listdir.py
@@ -76,7 +76,8 @@ def cacheddir(my_original_path, ignorecvs, ignorelist, EmptyOnError, followSymli
if list[x] in ignorelist:
pass
elif ignorecvs:
- if list[x][:2] != ".#":
+ if list[x][:2] != ".#" and \
+ not (ftype[x] == 1 and list[x] in _ignorecvs_dirs):
ret_list.append(list[x])
ret_ftype.append(ftype[x])
else: