diff options
Diffstat (limited to 'modules/kernel.eselect')
-rw-r--r-- | modules/kernel.eselect | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/kernel.eselect b/modules/kernel.eselect index d21b748..c327f3c 100644 --- a/modules/kernel.eselect +++ b/modules/kernel.eselect @@ -28,8 +28,8 @@ sort_kernel_versions() { # find a list of kernel symlink targets find_targets() { local f - for f in "${EROOT}"/usr/src/linux-[[:digit:]]*; do - [[ -f ${f}/Makefile ]] && basename "${f}" + for f in "${EROOT}"/usr/src/linux-*; do + [[ -f ${f}/Makefile && -f ${f}/Kconfig ]] && basename "${f}" done | sort_kernel_versions } |