projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca7373d
)
readd not-so pointless if statement
author
Simon Stelling
<blubb@gentoo.org>
Wed, 3 May 2006 17:07:02 +0000
(17:07 -0000)
committer
Simon Stelling
<blubb@gentoo.org>
Wed, 3 May 2006 17:07:02 +0000
(17:07 -0000)
svn path=/main/trunk/; revision=3312
bin/ebuild
patch
|
blob
|
history
diff --git
a/bin/ebuild
b/bin/ebuild
index 069dbb3ede9e9fb9df97efa19217fecb2f7db36a..a62585a5eaf77fc6e25606e4c422a38235753a4a 100755
(executable)
--- a/
bin/ebuild
+++ b/
bin/ebuild
@@
-70,8
+70,9
@@
else:
reload(portage)
portage_ebuild = portage.portdb.findname(cpv)
- print "!!! %s does not seem to have a valid PORTDIR structure." % overlay
- sys.exit(1)
+ 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)
if len(pargs) > 1 and "config" in pargs: