summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-27 20:53:12 +0000
committerSam James <sam@gentoo.org>2021-04-11 20:59:47 +0000
commit650763e87a32e18487d838d7677f6a198cb5007f (patch)
treeeaca3d3e92f940ef7d3e06d639a74b84fd53d51a /eclass
parentautotools.eclass: use consistent 'case' style (diff)
downloadgentoo-650763e87a32e18487d838d7677f6a198cb5007f.tar.gz
gentoo-650763e87a32e18487d838d7677f6a198cb5007f.tar.bz2
gentoo-650763e87a32e18487d838d7677f6a198cb5007f.zip
autotools.eclass: consistently use ${ECLASS}, not "autotools.eclass"
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/autotools.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
index 83b8bbd9134b..8591199d1136 100644
--- a/eclass/autotools.eclass
+++ b/eclass/autotools.eclass
@@ -19,7 +19,7 @@ if [[ ${__AUTOTOOLS_AUTO_DEPEND+set} == "set" ]] ; then
# eclass at that point, but that adds overhead, and it's trivial
# to re-order inherit in eclasses/ebuilds instead. #409611
if [[ ${__AUTOTOOLS_AUTO_DEPEND} != ${AUTOTOOLS_AUTO_DEPEND} ]] ; then
- die "AUTOTOOLS_AUTO_DEPEND changed value between inherits; please inherit autotools.eclass first! ${__AUTOTOOLS_AUTO_DEPEND} -> ${AUTOTOOLS_AUTO_DEPEND}"
+ die "AUTOTOOLS_AUTO_DEPEND changed value between inherits; please inherit ${ECLASS} first! ${__AUTOTOOLS_AUTO_DEPEND} -> ${AUTOTOOLS_AUTO_DEPEND}"
fi
fi
@@ -648,7 +648,7 @@ _autotools_m4dir_include() {
# We handle it below
-${flag}) ;;
*)
- [[ ! -d ${x} ]] && ewarn "autotools.eclass: '${x}' does not exist"
+ [[ ! -d ${x} ]] && ewarn "${ECLASS}: '${x}' does not exist"
include_opts+=" -${flag} ${x}"
;;
esac