Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Michał Górny <mgorny@g.o>
Subject: [PATCH autotools-utils] Fail if myeconfargs is not an array.
Date: Wed, 14 Sep 2011 20:43:54 +0200
---
 eclass/autotools-utils.eclass |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/eclass/autotools-utils.eclass b/eclass/autotools-utils.eclass
index 9217d00..72e0b85 100644
--- a/eclass/autotools-utils.eclass
+++ b/eclass/autotools-utils.eclass
@@ -225,6 +225,9 @@ autotools-utils_src_prepare() {
 autotools-utils_src_configure() {
 	debug-print-function ${FUNCNAME} "$@"
 
+	[[ -z ${myeconfargs+1} || $(declare -p myeconfargs) == 'declare -a'* ]] \
+		|| die 'autotools-utils.eclass: myeconfargs has to be an array.'
+
 	# Common args
 	local econfargs=()
 
-- 
1.7.6.1



Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Fixing eclass code relying on ${IUSE} greps?
Next by thread:
udev and /usr
Previous by date:
Re: Re: Fixing eclass code relying on ${IUSE} greps?
Next by date:
Re: Fixing eclass code relying on ${IUSE} greps?


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.