On Thursday 13 December 2007 09:18:45 Peter Volkov wrote:
> 2. Modify ebuilds to use arrays.
>
> -FONT_CONF="path1 path2"
> +FONT_CONF=( "path1" "path2" )

Why not use a function in pkg_setup as suggested earlier and pass each path 
component as $1, $2, etc. Then the ebuild itself doesn't actually care about 
the storage format of FONT_CONF, whether it's a bash array or a standard 
string using IFS.

That gives you the luxury of changing it as you like without having to change 
any ebuilds later.

pkg_setup() {
   append_font_conf "path1" "path2"
}

Thanks

Roy
-- 
[EMAIL PROTECTED] mailing list

Reply via email to