summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2017-01-20 20:11:15 -0600
committerMike Frysinger <vapier@gentoo.org>2017-01-20 20:11:15 -0600
commit1858310612002849971e1524095c17bf87d53fd2 (patch)
tree8eb6c982b723a08881833693b1f2b007a789d3f4 /eclass
parentfix quoting to a lot of patch calls (diff)
downloadgentoo-1858310612002849971e1524095c17bf87d53fd2.tar.gz
gentoo-1858310612002849971e1524095c17bf87d53fd2.tar.bz2
gentoo-1858310612002849971e1524095c17bf87d53fd2.zip
udev.eclass: add multiple inclusion protection
Diffstat (limited to 'eclass')
-rw-r--r--eclass/udev.eclass5
1 files changed, 5 insertions, 0 deletions
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