commit: a2c0712d0f17243bab0523fe7df78ce4ea145ef5 Author: Marty E. Plummer <hanetzer <AT> startmail <DOT> com> AuthorDate: Tue Jul 17 18:06:00 2018 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Tue Jul 17 21:20:38 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2c0712d
linux-info.eclass: fix for prematurely merged patch https://github.com/gentoo/gentoo/pull/9222 was merged prematurely, and included the first iteration of my linux-info EAPI 7 patch, and requires this patch on top to avoid a double slash. eclass/linux-info.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass index 31464766038..6cd64457edd 100644 --- a/eclass/linux-info.eclass +++ b/eclass/linux-info.eclass @@ -554,7 +554,7 @@ get_version() { # caught before this if they are. if [[ -z ${OUTPUT_DIR} ]] ; then # Try to locate a kernel that is most relevant for us. - for OUTPUT_DIR in "${SYSROOT}" "${ROOT%/}/" "" ; do + for OUTPUT_DIR in "${SYSROOT}" "${ROOT%/}" "" ; do OUTPUT_DIR+="/lib/modules/${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}${KV_EXTRA}/build" if [[ -e ${OUTPUT_DIR} ]] ; then break
