summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-10-15 06:51:57 +0000
committerZac Medico <zmedico@gentoo.org>2006-10-15 06:51:57 +0000
commit32021fd848eba34998fa0089e052e0e33b7c56fc (patch)
treed6fa634c4d389db12f8c01c111d3557bdda8ee60 /bin/ebuild.sh
parentDisable the ECLASS inherited illegally message during *rm phases since it giv... (diff)
downloadportage-multirepo-32021fd848eba34998fa0089e052e0e33b7c56fc.tar.gz
portage-multirepo-32021fd848eba34998fa0089e052e0e33b7c56fc.tar.bz2
portage-multirepo-32021fd848eba34998fa0089e052e0e33b7c56fc.zip
Use globing to match *rm phases from the last commit.
svn path=/main/trunk/; revision=4701
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-xbin/ebuild.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index c61feea5..9e96451f 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1169,9 +1169,7 @@ inherit() {
export ECLASS="$1"
if [ "${EBUILD_PHASE}" != "depend" ] && \
- [ ${EBUILD_PHASE} != "cleanrm" ] && \
- [ ${EBUILD_PHASE} != "prerm" ] && \
- [ ${EBUILD_PHASE} != "postrm" ]; then
+ [[ ${EBUILD_PHASE} != *rm ]]; then
# This is disabled in the *rm phases because they frequently give
# false alarms due to INHERITED in /var/db/pkg being outdated
# in comparison the the eclasses from the portage tree.