commit: 1858310612002849971e1524095c17bf87d53fd2 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> AuthorDate: Sat Jan 21 02:11:15 2017 +0000 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> CommitDate: Sat Jan 21 02:11:15 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18583106
udev.eclass: add multiple inclusion protection eclass/udev.eclass | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/eclass/udev.eclass b/eclass/udev.eclass index eb5c659..0968559 100644 --- a/eclass/udev.eclass +++ b/eclass/udev.eclass @@ -28,6 +28,9 @@ # } # @CODE +if [[ -z ${_UDEV_ECLASS} ]]; then +_UDEV_ECLASS=1 + inherit toolchain-funcs case ${EAPI:-0} in @@ -113,3 +116,5 @@ udev_reload() { eend $? fi } + +fi