From 87a76b7f8da09614d1cee08a36e511169dd69b10 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sun, 17 Jan 2010 21:34:52 +0000 Subject: Merge first part of patch from bug #87242: New warning output method and support for another assignment type in makefile non-exec parsing. --- eclass/linux-info.eclass | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'eclass/linux-info.eclass') diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass index 23690760c247..76c0886ea4f9 100644 --- a/eclass/linux-info.eclass +++ b/eclass/linux-info.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.81 2010/01/10 09:26:09 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.82 2010/01/17 21:34:52 robbat2 Exp $ # # Original author: John Mylchreest # Maintainer: kernel-misc@gentoo.org @@ -148,6 +148,7 @@ qout() { } qeinfo() { qout einfo "${@}" ; } +qewarn() { qout ewarn "${@}" ; } qeerror() { qout eerror "${@}" ; } # File Functions @@ -208,7 +209,7 @@ getfilevar_noexec() { else ${mycat} "${2}" | \ sed -n \ - -e "/^[[:space:]]*${1}[[:space:]]*=[[:space:]]*\(.*\)\$/{ + -e "/^[[:space:]]*${1}[[:space:]]*:\\?=[[:space:]]*\(.*\)\$/{ s,^[^=]*[[:space:]]*=[[:space:]]*,,g ; s,[[:space:]]*\$,,g ; p -- cgit v1.2.3-65-gdbad