How about a function called illegal_in_global_scope?

Any calls to this function will die if we're in the metadata phase.
Exlib authors will be encouraged to make most of their utility
functions do this as their first line.

That way we can get rid of norty people using toolchain-funcs things at
global scope.

Also, how about we declare -r DEFAULT_* things after sourcing the
ebuild but before running any phase functions?

-- 
Ciaran McCreesh

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Exherbo-dev mailing list
[email protected]
http://lists.exherbo.org/mailman/listinfo/exherbo-dev

Reply via email to