remove pointless if statement
authorSimon Stelling <blubb@gentoo.org>
Tue, 2 May 2006 19:29:40 +0000 (19:29 -0000)
committerSimon Stelling <blubb@gentoo.org>
Tue, 2 May 2006 19:29:40 +0000 (19:29 -0000)
svn path=/main/trunk/; revision=3311

bin/ebuild

index a62585a5eaf77fc6e25606e4c422a38235753a4a..069dbb3ede9e9fb9df97efa19217fecb2f7db36a 100755 (executable)
@@ -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: