From: Fabian Groffen Date: Fri, 30 Oct 2009 21:39:56 +0000 (-0000) Subject: Fix logic error, don't want to run XCOFF checks on ELF systems X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=c788dc1c1d560d01aee90e4dd5d598ec5e05c73f;p=portage.git Fix logic error, don't want to run XCOFF checks on ELF systems svn path=/main/branches/prefix/; revision=14747 --- diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index c3da0fecb..fdc1ec118 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -1798,7 +1798,7 @@ class vardbapi(dbapi): self.linkmap = LinkageMapMachO(self) elif chost.find('interix') >= 0 or chost.find('winnt') >= 0: self.linkmap = LinkageMapPeCoff(self) - elif chost.find('aix'): + elif chost.find('aix') >= 0: self.linkmap = LinkageMapXCoff(self) else: self.linkmap = LinkageMap(self)