diff options
author | Mike Pagano <mpagano@gentoo.org> | 2022-05-13 09:37:34 -0400 |
---|---|---|
committer | Mike Pagano <mpagano@gentoo.org> | 2022-05-13 09:41:17 -0400 |
commit | 2a009a791366ef003d07eaebfccf7bf95df9b0dc (patch) | |
tree | cb31f4e55c554d8d84f4d39b4b1cba48acaece6e /eclass | |
parent | dev-python/pynacl: Enable py3.11 (diff) | |
download | gentoo-2a009a791366ef003d07eaebfccf7bf95df9b0dc.tar.gz gentoo-2a009a791366ef003d07eaebfccf7bf95df9b0dc.tar.bz2 gentoo-2a009a791366ef003d07eaebfccf7bf95df9b0dc.zip |
inux-info.eclass: Remove local function.Calling code removed on Aug 3,2010
This function was only called locally and the last use was
almost 12 years ago
See: https://gitlab.com/rindeal/gentoo-cvs-history-archive/-/commit/1715ad
cd9e404075340e5a5ed82f88928feeffd9
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/linux-info.eclass | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass index 8c502812f8f0..d2003874da09 100644 --- a/eclass/linux-info.eclass +++ b/eclass/linux-info.eclass @@ -438,26 +438,6 @@ kernel_is() { "${1:-${KV_MAJOR:-0}}.${2:-${KV_MINOR:-0}}.${3:-${KV_PATCH:-0}}" } -get_localversion() { - local lv_list i x - - local shopt_save=$(shopt -p nullglob) - shopt -s nullglob - local files=( ${1}/localversion* ) - ${shopt_save} - - # ignore files with ~ in it. - for i in "${files[@]}"; do - [[ -n ${i//*~*} ]] && lv_list="${lv_list} ${i}" - done - - for i in ${lv_list}; do - x="${x}$(<${i})" - done - x=${x/ /} - echo ${x} -} - # Check if the Makefile is valid for direct parsing. # Check status results: # - PASS, use 'getfilevar' to extract values |