Gentoo Archives: gentoo-dev

From: Samuli Suominen <ssuominen@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] RFC: Small patch to get rid of last hasq() in eclass/tests/
Date: Mon, 11 Jul 2011 18:09:19
Message-Id: 4E1B3BB7.1060607@gentoo.org
1 I've never used eclass/tests/ or are familiar with where it's used, so
2 can I get an ACK or two for this?
3
4 --- eclass/tests/tests-common.sh.orig 2011-07-11 21:04:16.000000000 +0300
5 +++ eclass/tests/tests-common.sh 2011-07-11 21:04:40.000000000 +0300
6 @@ -27,5 +27,4 @@
7 debug-print "now in section ${*}"
8 }
9
10 -hasq() { [[ " ${*:2} " == *" $1 "* ]]; }
11 -has() { hasq "$@"; }
12 +has() { [[ " ${*:2} " == *" $1 "* ]]; }

Replies

Subject Author
Re: [gentoo-dev] RFC: Small patch to get rid of last hasq() in eclass/tests/ Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
Re: [gentoo-dev] RFC: Small patch to get rid of last hasq() in eclass/tests/ Mike Frysinger <vapier@g.o>