aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStanislav Ochotnicky <sochotnicky@gmail.com>2009-07-24 17:11:13 +0200
committerStanislav Ochotnicky <sochotnicky@gmail.com>2009-07-25 00:51:53 +0200
commit6d8a5080fae8af607f19d5f90936a0146b3c0613 (patch)
tree025c9aa9fd32c0158fce63fa6bf0af526f948d8a /src
parentAdded debugging output (diff)
downloadcollagen-6d8a5080fae8af607f19d5f90936a0146b3c0613.tar.gz
collagen-6d8a5080fae8af607f19d5f90936a0146b3c0613.tar.bz2
collagen-6d8a5080fae8af607f19d5f90936a0146b3c0613.zip
Fix issue with chdir in emerge_main()
Diffstat (limited to 'src')
-rw-r--r--src/tinderbox/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tinderbox/__init__.py b/src/tinderbox/__init__.py
index de3f53b..b37f1f5 100644
--- a/src/tinderbox/__init__.py
+++ b/src/tinderbox/__init__.py
@@ -107,6 +107,7 @@ class Tinderbox(object):
try:
# setup logging!
os.chroot(config.WORK_CHROOT)
+ os.chdir("/")
init_logging()
pkgname, pkgver, pkgrev = portage.pkgsplit(pkg)