summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 944222bc5..a32ddc901 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -2506,7 +2506,7 @@ def prepare_build_dirs(myroot, mysettings, cleanup):
def makedirs(dir_path):
try:
- os.makedirs(mysettings[dir_key])
+ os.makedirs(dir_path)
except OSError, oe:
if errno.EEXIST == oe.errno:
pass