diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-06-02 07:39:52 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-06-02 07:39:52 +0000 |
commit | 393bfe9eecbc3b4088f28a1993bde73d18ba9341 (patch) | |
tree | 569fd53027e239e967cb029d50808c78b68a8129 /eclass/linux-info.eclass | |
parent | add slot dep for repoman (diff) | |
download | gentoo-2-393bfe9eecbc3b4088f28a1993bde73d18ba9341.tar.gz gentoo-2-393bfe9eecbc3b4088f28a1993bde73d18ba9341.tar.bz2 gentoo-2-393bfe9eecbc3b4088f28a1993bde73d18ba9341.zip |
fix typo in SYSROOT var pointed out by Michał Górny
Diffstat (limited to 'eclass/linux-info.eclass')
-rw-r--r-- | eclass/linux-info.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass index 3a766a588f94..90c87dcd0199 100644 --- a/eclass/linux-info.eclass +++ b/eclass/linux-info.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.106 2015/06/02 04:27:35 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.107 2015/06/02 07:39:52 vapier Exp $ # @ECLASS: linux-info.eclass # @MAINTAINER: @@ -531,7 +531,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 "${SYROOT}" "${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 |