diff options
author | Aron Griffis <agriffis@gentoo.org> | 2004-08-07 04:24:41 +0000 |
---|---|---|
committer | Aron Griffis <agriffis@gentoo.org> | 2004-08-07 04:24:41 +0000 |
commit | b501bed517135deaf86ec0658742d17255d505bb (patch) | |
tree | e8b9486969ce0489e4965369db68ee5f528f4e25 /eclass/gnuconfig.eclass | |
parent | Added net-dns/bind-tools-9.2.2. (diff) | |
download | gentoo-2-b501bed517135deaf86ec0658742d17255d505bb.tar.gz gentoo-2-b501bed517135deaf86ec0658742d17255d505bb.tar.bz2 gentoo-2-b501bed517135deaf86ec0658742d17255d505bb.zip |
make is-flag work for globs
Diffstat (limited to 'eclass/gnuconfig.eclass')
-rw-r--r-- | eclass/gnuconfig.eclass | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/eclass/gnuconfig.eclass b/eclass/gnuconfig.eclass index dcbb8284ac9c..0520b5cd109b 100644 --- a/eclass/gnuconfig.eclass +++ b/eclass/gnuconfig.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/gnuconfig.eclass,v 1.23 2004/07/13 21:43:28 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gnuconfig.eclass,v 1.24 2004/08/07 04:24:41 agriffis Exp $ # # Author: Will Woods <wwoods@gentoo.org> # @@ -29,7 +29,12 @@ DESCRIPTION="Based on the ${ECLASS} eclass" gnuconfig_update() { local startdir # declared here ... used in gnuconfig_do_update - if [[ $1 == /* ]]; then + local x + for ((x = 1; x <= $#; x = x + 1)); do + echo "gnuconfig_update arg$x = [${!x}]" + done + + if [[ $1 == */* ]]; then startdir=$1 shift else |