summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/dbapi/vartree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py
index 2b5e6efbd..d73c4a117 100644
--- a/pym/portage/dbapi/vartree.py
+++ b/pym/portage/dbapi/vartree.py
@@ -823,7 +823,7 @@ class dblink(object):
"""
import re
- _normalize_needed = re.compile(r'//|^[^/]|.+/$')
+ _normalize_needed = re.compile(r'.*//.*|^[^/]|.+/$|(^|.*/)\.\.?(/.*|$)')
def __init__(self, cat, pkg, myroot, mysettings, treetype=None,
vartree=None):