projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e7ca47
)
emerge: support ../ path arguments
author
Zac Medico
<zmedico@gentoo.org>
Tue, 8 Feb 2011 19:39:41 +0000
(11:39 -0800)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 8 Feb 2011 19:39:41 +0000
(11:39 -0800)
This will fix bug #354141.
pym/_emerge/depgraph.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/depgraph.py
b/pym/_emerge/depgraph.py
index c4d84ab932f6a74b9fe257f31398b3b6b410185c..245e38e597b123ed351977a1a8469aacfb7ce83e 100644
(file)
--- a/
pym/_emerge/depgraph.py
+++ b/
pym/_emerge/depgraph.py
@@
-1621,7
+1621,8
@@
class depgraph(object):
# Queue these up since it's most efficient to handle
# multiple files in a single iter_owners() call.
lookup_owners.append(x)
- elif x.startswith("." + os.path.sep):
+ elif x.startswith("." + os.sep) or \
+ x.startswith(".." + os.sep):
f = os.path.abspath(x)
if not f.startswith(myroot):
portage.writemsg(("\n\n!!! '%s' (resolved from '%s') does not start with" + \