summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2014-07-30 19:49:46 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2014-07-30 19:49:46 +0000
commitbaf47c69e9e84597495c2676927d018306cdd5c3 (patch)
tree1c7d0b9c5ffdd3f701cdf37896245762080caacf /eclass/udev.eclass
parentamd64 stable wrt bug #518600 (diff)
downloadhistorical-baf47c69e9e84597495c2676927d018306cdd5c3.tar.gz
historical-baf47c69e9e84597495c2676927d018306cdd5c3.tar.bz2
historical-baf47c69e9e84597495c2676927d018306cdd5c3.zip
Deprecate the longer udev_get_udevdir() function in favour of the shorter get_udevdir(), notably gentoo-x86 has been fully converted
Diffstat (limited to 'eclass/udev.eclass')
-rw-r--r--eclass/udev.eclass7
1 files changed, 4 insertions, 3 deletions
diff --git a/eclass/udev.eclass b/eclass/udev.eclass
index c81bee5e9917..eee7f2ce33d8 100644
--- a/eclass/udev.eclass
+++ b/eclass/udev.eclass
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/udev.eclass,v 1.12 2014/07/13 19:33:09 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/udev.eclass,v 1.13 2014/07/30 19:49:46 ssuominen Exp $
# @ECLASS: udev.eclass
# @MAINTAINER:
@@ -56,7 +56,8 @@ _udev_get_udevdir() {
udev_get_udevdir() {
debug-print-function ${FUNCNAME} "${@}"
- echo "$(_udev_get_udevdir)"
+ eerror "Use the shorter get_udevdir() instead of longer udev_get_udevdir()"
+ die "Deprecated function call: udev_get_udevdir()"
}
# @FUNCTION: get_udevdir