В Чтв, 13/12/2007 в 10:52 +, Steve Long пишет:
> Peter Volkov wrote:
> > Speaking about the
> > latter it is:
> >
> > 1. Modify eclass to use arrays:
> >
> > for conffile in [EMAIL PROTECTED]; do
> > ...
> > done
> >
> > 2. Modify ebuilds to use arrays.
> >
> > -FONT_CONF="path1 path2"
> >
Peter Volkov wrote:
> Thank you all, for your responds.
>
> Currently I see that the best approach is arrays. They provide required
> functionality, clear syntax and easy upgrade path.
++
> Speaking about the
> latter it is:
>
> 1. Modify eclass to use arrays:
>
> for conffile in [EMAIL PROTE
Peter Volkov wrote:
> Some eclasses (kernel-2, font) use variable to pass space separated PATH
> to patch or fontconfig files from ebuild to eclass. In ebuild we use:
>
> FONT_CONF="path1 path2"
>
> Then eclasses use the variable:
>
> for conffile in ${FONT_CONF}; do
> ...
> done
>
> The