From: Zac Medico Date: Sun, 15 Oct 2006 06:51:57 +0000 (-0000) Subject: Use globing to match *rm phases from the last commit. X-Git-Tag: v2.1.2~632 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=32021fd848eba34998fa0089e052e0e33b7c56fc;p=portage.git Use globing to match *rm phases from the last commit. svn path=/main/trunk/; revision=4701 --- 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.