diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2013-01-29 15:33:37 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2013-01-29 15:33:37 +0000 |
commit | 050e65286f9ea9ba4bd2757b21bda19ebd8b46a5 (patch) | |
tree | a52995c81eb50f78a1b0a91235588b3f852d58f8 /eclass/udev.eclass | |
parent | Block old version to avoid file collision wrt #454416 by Nikolaj Sjujskij (diff) | |
download | historical-050e65286f9ea9ba4bd2757b21bda19ebd8b46a5.tar.gz historical-050e65286f9ea9ba4bd2757b21bda19ebd8b46a5.tar.bz2 historical-050e65286f9ea9ba4bd2757b21bda19ebd8b46a5.zip |
Rename udev_get_udevdir to plain get_udevdir which looks completely safe. No clue why I didn't do this at the first place. Sorry about that.
Diffstat (limited to 'eclass/udev.eclass')
-rw-r--r-- | eclass/udev.eclass | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/eclass/udev.eclass b/eclass/udev.eclass index 80ad820638c0..8641f4460160 100644 --- a/eclass/udev.eclass +++ b/eclass/udev.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/udev.eclass,v 1.8 2012/12/03 01:58:44 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/udev.eclass,v 1.9 2013/01/29 15:33:37 ssuominen Exp $ # @ECLASS: udev.eclass # @MAINTAINER: @@ -19,13 +19,13 @@ # DEPEND="${RDEPEND}" # # src_configure() { -# econf \ -# --with-rulesdir="$(udev_get_udevdir)"/rules.d \ +# econf --with-rulesdir="$(get_udevdir)"/rules.d # } # # src_install() { +# default # # udev_dorules contrib/99-foomatic -# udev_newrules contrib/98-foomatic 99-foomatic +# # udev_newrules contrib/98-foomatic 99-foomatic # } # @CODE @@ -53,10 +53,19 @@ _udev_get_udevdir() { # @FUNCTION: udev_get_udevdir # @DESCRIPTION: +# Use the short version $(get_udevdir) instead! +udev_get_udevdir() { + debug-print-function ${FUNCNAME} "${@}" + + echo "$(_udev_get_udevdir)" +} + +# @FUNCTION: get_udevdir +# @DESCRIPTION: # Output the path for the udev directory (not including ${D}). # This function always succeeds, even if udev is not installed. # The fallback value is set to /lib/udev -udev_get_udevdir() { +get_udevdir() { debug-print-function ${FUNCNAME} "${@}" echo "$(_udev_get_udevdir)" |