[gentoo-dev] Re: How to pass list of paths to eclass?

2007-12-13 Thread Steve Long
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 PROTECTED]; do

Re: [gentoo-dev] Re: How to pass list of paths to eclass?

2007-12-13 Thread Peter Volkov
В Чтв, 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 +FONT_CONF=( path1 path2 )

[gentoo-dev] Re: How to pass list of paths to eclass?

2007-12-11 Thread Ryan Hill
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 problem with