projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad5e303
)
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 20:46:13 +0000
(12:46 -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 d41ab825fa3d5faa73b304445c48dd4fa58e6789..fe706af40508352bf0fea5b7e69983e1749b7e0c 100644
(file)
--- a/
pym/_emerge/depgraph.py
+++ b/
pym/_emerge/depgraph.py
@@
-1638,7
+1638,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" + \