fix a missed hardcoded path not using the portage.root.
authorBrian Dolbec <dolsen@gentoo.org>
Mon, 19 Mar 2012 06:49:20 +0000 (23:49 -0700)
committerBrian Dolbec <dolsen@gentoo.org>
Mon, 19 Mar 2012 06:49:20 +0000 (23:49 -0700)
pym/gentoolkit/revdep_rebuild/settings.py

index 3c8b9d3415309816532d892f7f60b3c3024e3aa0..54d7f9e73f78ef0ffdb0f84b198fc2790a89cd10 100644 (file)
@@ -14,7 +14,7 @@ DEFAULTS = {
                'DEFAULT_ENV_FILE': os.path.join(portage.root, 'etc/profile.env'),
                'REVDEP_CONFDIR': os.path.join(portage.root, 'etc/revdep-rebuild/'),
                'PKG_DIR': os.path.join(portage.root, 'var/db/pkg/'),
-               'DEFAULT_TMP_DIR': '/var/cache/revdep-rebuild', #cache default location
+               'DEFAULT_TMP_DIR': os.path.join(portage.root, '/var/cache/revdep-rebuild'), #cache default location
 
                # number of maximum allowed files to be parsed at once
                'CMD_MAX_ARGS': 1000,