From: | Donnie Berkholz <dberkholz@g.o> | ||
---|---|---|---|
To: | gentoo-dev@l.g.o | ||
Subject: | Re: [gentoo-dev] How to pass list of paths to eclass? | ||
Date: | Tue, 11 Dec 2007 08:47:40 | ||
Message-Id: | 20071211084451.GH31432@supernova | ||
In Reply to: | [gentoo-dev] How to pass list of paths to eclass? by Peter Volkov |
1 | On 11:17 Tue 11 Dec , Peter Volkov wrote: |
2 | > FONT_CONF=("path1" "path2") |
3 | > |
4 | > for conffile in "${FONT_CONF[@]}"; do |
5 | > ... |
6 | > done |
7 | > |
8 | > But is this good idea? Are there better? |
9 | |
10 | Roy solved a similar problem in baselayout-2 using hardcoded newlines, |
11 | although it had the additional constraint of sh compatibility. It's |
12 | worth considering code clarity between that and arrays. |
13 | |
14 | Thanks, |
15 | Donnie |
16 | -- |
17 | gentoo-dev@g.o mailing list |
Subject | Author |
---|---|
Re: [gentoo-dev] How to pass list of paths to eclass? | Roy Marples <roy@×××××××.name> |