projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29c8476
)
Make path a bit cleaner by normalising it.
author
Fabian Groffen
<grobian@gentoo.org>
Mon, 16 Oct 2006 16:36:39 +0000
(16:36 -0000)
committer
Fabian Groffen
<grobian@gentoo.org>
Mon, 16 Oct 2006 16:36:39 +0000
(16:36 -0000)
svn path=/main/branches/prefix/; revision=4725
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index 19e7c3499b70493c03f9b5c07247cc8c3ca7896d..b82ae32b81021a0fda1c2965c1050322ef927aca 100644
(file)
--- a/
pym/portage.py
+++ b/
pym/portage.py
@@
-1382,7
+1382,8
@@
class config:
for mypath, (gid, mode, modemask) in dir_mode_map.iteritems():
try:
- mydir = os.path.join(self["ROOT"] + self["EPREFIX"], mypath)
+ mydir = normalize_path(
+ os.path.join(self["ROOT"] + self["EPREFIX"], mypath))
portage_util.ensure_dirs(mydir, gid=gid, mode=mode, mask=modemask)
except portage_exception.PortageException, e:
writemsg("!!! Directory initialization failed: '%s'\n" % mydir,