Erik Trauschke wrote:

> Actually it is possible to set an environment variable on a per-instance
> basis. However, this means that someone needs to set two variables in SMF
> which have to match up to be useful. Setting the PYTHONPATH in the method
> script just takes away one possible source of failure, so you only have
> to set the pkg_env variable and everything else is handled automatically.

Okay, makes sense.

If you ever elevate this to a documented interface, I'd suggest pkg_root
instead, but whatever you call it, the code looks fine.

Thanks,
Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to