From 1858310612002849971e1524095c17bf87d53fd2 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 20 Jan 2017 20:11:15 -0600 Subject: [PATCH] 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 eb5c6590e5f6..0968559100bf 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 -- 2.26.2