From: Mike Frysinger Date: Sat, 21 Jan 2017 02:11:15 +0000 (-0600) Subject: udev.eclass: add multiple inclusion protection X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1858310612002849971e1524095c17bf87d53fd2;p=gentoo.git udev.eclass: add multiple inclusion protection --- 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