Use os.path.realpath instead of portage.abssymlink to resolve /etc/make.profile becau...
authorZac Medico <zmedico@gentoo.org>
Mon, 8 May 2006 20:26:14 +0000 (20:26 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 8 May 2006 20:26:14 +0000 (20:26 -0000)
svn path=/main/trunk/; revision=3334

pym/portage.py

index 96fb8bb36dcc80b732ec4605b0bf9d2699abc7f8..2054945ff010ae74f7035e1700a8f99157d373dc 100644 (file)
@@ -1017,7 +1017,7 @@ class config:
                        if self.profile_path is None:
                                self.profiles = []
                        else:
-                               self.profiles = [abssymlink(self.profile_path)]
+                               self.profiles = [os.path.realpath(self.profile_path)]
                                mypath = self.profiles[0]
                                while os.path.exists(os.path.join(mypath, "parent")):
                                        mypath = os.path.normpath(os.path.join(