Gentoo Archives: gentoo-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] colon separated variables in /etc/env.d/
Date: Thu, 14 Sep 2006 03:23:26
Message-Id: 4508CA3D.6070504@gentoo.org
In Reply to: Re: [gentoo-dev] colon separated variables in /etc/env.d/ by Mike Frysinger
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Mike Frysinger wrote:
5 > On Sunday 10 September 2006 21:44, Zac Medico wrote:
6 >> For example, we can have a list of variable names
7 >> stored in a new variable called "COLON_SEPARATED" that will reside
8 >> in either the profiles or /etc/env.d/ itself.
9 >
10 > /etc/env.d makes most sense ... we just have to worry about how to handle the
11 > chicken & egg problem ...
12 >
13 > so if you have FOO="..." in '10file' but COLON_SEPARATED="foo" doesn't appear
14 > until '20file', what then ?
15 > -mike
16
17 It's alright, because the tool will make one pass over all the files
18 in order to accumulate COLON_SEPARATED and SPACE_SEPARATED. After
19 it has those values, it will make another pass to process the other
20 variables (FOO, etc...).
21
22 Zac
23 -----BEGIN PGP SIGNATURE-----
24 Version: GnuPG v1.4.5 (GNU/Linux)
25
26 iD8DBQFFCMo8/ejvha5XGaMRAuvkAJ0YGD1kozu4hFXxdTbauI1koRM8TQCfdWNF
27 nhueyuoinBXgVvw60FmOrso=
28 =ZC/4
29 -----END PGP SIGNATURE-----
30 --
31 gentoo-dev@g.o mailing list