summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2010-01-17 21:34:52 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2010-01-17 21:34:52 +0000
commitc32f118bb9c4bf5510d9b2a0ecee614a9e50b4dc (patch)
tree551bd373e852c2041ad48884e2cd3e3432860a88 /eclass
parentReplace jpeg-compat with slotted <jpeg-7. (diff)
downloadgentoo-2-c32f118bb9c4bf5510d9b2a0ecee614a9e50b4dc.tar.gz
gentoo-2-c32f118bb9c4bf5510d9b2a0ecee614a9e50b4dc.tar.bz2
gentoo-2-c32f118bb9c4bf5510d9b2a0ecee614a9e50b4dc.zip
Merge first part of patch from bug #87242: New warning output method and support for another assignment type in makefile non-exec parsing.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/linux-info.eclass5
1 files changed, 3 insertions, 2 deletions
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 <johnm@gentoo.org>
# 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