summaryrefslogtreecommitdiffstats
path: root/bin/ebuild.sh
diff options
context:
space:
mode:
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 c61feea51..9e96451ff 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.