From 70e6dda08c5a169385fbb5e41fa9ea3d07f634fa Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 30 Apr 2006 08:38:20 +0000 Subject: Add PORTAGE_BIN_PATH and PORTAGE_PYM_PATH to the enviroment and use them to replace hard coded paths in ebuild.sh and misc-functions.sh. svn path=/main/trunk/; revision=3280 --- pym/portage.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pym') diff --git a/pym/portage.py b/pym/portage.py index 1acfed746..f8c599c1b 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -1293,6 +1293,8 @@ class config: writemsg("!!! Error: ROOT '%s' is not a directory. Please correct this.\n" % myroot[:-1]) raise portage_exception.DirectoryNotFound(myroot) self.backupenv["ROOT"] = myroot + self.backupenv["PORTAGE_BIN_PATH"] = PORTAGE_BIN_PATH + self.backupenv["PORTAGE_PYM_PATH"] = PORTAGE_PYM_PATH self._init_dirs() -- cgit v1.2.3-1-g7c22