diff options
author | Marty E. Plummer <hanetzer@startmail.com> | 2018-07-17 13:06:00 -0500 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2018-07-17 23:20:38 +0200 |
commit | a2c0712d0f17243bab0523fe7df78ce4ea145ef5 (patch) | |
tree | 0a0fc809f019ce10dc93bc42eaab73c6119ef145 /eclass/linux-info.eclass | |
parent | media-video/super_demux: Use append-cflags (diff) | |
download | gentoo-a2c0712d0f17243bab0523fe7df78ce4ea145ef5.tar.gz gentoo-a2c0712d0f17243bab0523fe7df78ce4ea145ef5.tar.bz2 gentoo-a2c0712d0f17243bab0523fe7df78ce4ea145ef5.zip |
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.
Diffstat (limited to 'eclass/linux-info.eclass')
-rw-r--r-- | eclass/linux-info.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass index 314647660387..6cd64457edd2 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 |