Hello.

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 this doesn't work if path{1,2} contain spaces. The
solution I'm thinking about is to you arrays:

FONT_CONF=("path1" "path2")

for conffile in "[EMAIL PROTECTED]"; do 
        ...
done

But is this good idea? Are there better?

-- 
Peter.

Attachment: signature.asc
Description: Эта часть сообщения подписана цифровой подписью

Reply via email to