summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Stelling <blubb@gentoo.org>2006-05-02 19:29:40 +0000
committerSimon Stelling <blubb@gentoo.org>2006-05-02 19:29:40 +0000
commitca7373de5b8b0e2797ec44c13e85f0433642c0f5 (patch)
tree5280b018d76bcf5eeac4476b84631674ae701c5b /bin/ebuild
parentbest_version doesn't return different codes depending on whether it found a m... (diff)
downloadportage-multirepo-ca7373de5b8b0e2797ec44c13e85f0433642c0f5.tar.gz
portage-multirepo-ca7373de5b8b0e2797ec44c13e85f0433642c0f5.tar.bz2
portage-multirepo-ca7373de5b8b0e2797ec44c13e85f0433642c0f5.zip
remove pointless if statement
svn path=/main/trunk/; revision=3311
Diffstat (limited to 'bin/ebuild')
-rwxr-xr-xbin/ebuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/ebuild b/bin/ebuild
index a62585a5..069dbb3e 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: