On Wednesday 26 September 2007, Donnie Berkholz wrote: > On 04:51 Wed 26 Sep , Mike Frysinger wrote: > > On Wednesday 26 September 2007, Donnie Berkholz wrote: > > > for USE in ${IUSE}; do > > > [[ ${USE} = linguas_* ]] && use_linguas ${USE} > > > done > > > > you dont want to use the variable 'USE' ... while it would work > > correctly if you declared it with 'local', it'd be confusing and > > repoman may just barf on it ($USE is supposed to be readonly for > > ebuilds) > > Ahh, reviewing is so fun and educational, it almost feels like I'm > watching the Discovery channel. Although I'm not sure why $USE is > directly accessible from ebuilds ... seems like it should only be > accessible to use(). Implementation detail, or should it be part of the > PMS?
if it's all common shell, it's pretty hard to hide ... you could try some tricks like rewriting USE to __USE__ so internal code (like the `use` function) still work, but in the end, does that really help ? -mike
signature.asc
Description: This is a digitally signed message part.