From: Simon Stelling Date: Tue, 2 May 2006 19:29:40 +0000 (-0000) Subject: remove pointless if statement X-Git-Tag: v2.1_rc1~30 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ca7373de5b8b0e2797ec44c13e85f0433642c0f5;p=portage.git remove pointless if statement svn path=/main/trunk/; revision=3311 --- diff --git a/bin/ebuild b/bin/ebuild index a62585a5e..069dbb3ed 100755 --- a/bin/ebuild +++ b/bin/ebuild @@ -70,9 +70,8 @@ else: reload(portage) portage_ebuild = portage.portdb.findname(cpv) - if not portage_ebuild or os.path.realpath(portage_ebuild) != ebuild: - print "!!! %s does not seem to have a valid PORTDIR structure." % overlay - sys.exit(1) + print "!!! %s does not seem to have a valid PORTDIR structure." % overlay + sys.exit(1) if len(pargs) > 1 and "config" in pargs: