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
commita076cd54ea4c8fa2d7fd6fe403846c7e10df98e8 (patch)
tree3229712626c3fedf51f70c24b93e3c18f6304278 /eclass/udev.eclass
parentamd64 stable wrt bug #518600 (diff)
downloadgentoo-2-a076cd54ea4c8fa2d7fd6fe403846c7e10df98e8.tar.gz
gentoo-2-a076cd54ea4c8fa2d7fd6fe403846c7e10df98e8.tar.bz2
gentoo-2-a076cd54ea4c8fa2d7fd6fe403846c7e10df98e8.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