Gentoo Archives: gentoo-dev

From: Peter Volkov <pva@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 11:21:05
Message-Id: 1197371689.10214.59.camel@camobap
In Reply to: Re: [gentoo-dev] How to pass list of paths to eclass? by Roy Marples
1 В Втр, 11/12/2007 в 10:38 +0000, Roy Marples пишет:
2 > FONT_CONF=path1:path2
3 >
4 > IFS=.
5
6 IIUC should be IFS=:
7
8 > for for conffile in ${FONT_CONF}; do
9 > ....
10 > done
11 > unset IFS
12 >
13 > That way you work the same way as the classic $PATH variable.
14
15 But this seems to fail if we have ':' inside path{1,2}. Is that true?
16 For PATH the same question stands, but I think that ':' is used there
17 for historical reasons.
18
19 --
20 Peter.

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] How to pass list of paths to eclass? Roy Marples <roy@×××××××.name>