Colin Watson wrote:

> Yes.  How about:
>
> diff --git a/policy.sgml b/policy.sgml
> index bb424ed..3a8bd90 100644
> --- a/policy.sgml
> +++ b/policy.sgml
> @@ -7449,8 +7449,8 @@ Reloading <var>description</var> configuration...done.
>       <heading>Environment variables</heading>
>  
>       <p>
> -       A program must not depend on environment variables to get
> -       reasonable defaults.  (That's because these environment
> +       A program must not depend on its own custom environment variables
> +       to get reasonable defaults.  (That's because these environment
>         variables would have to be set in a system-wide
>         configuration file like <file>/etc/profile</file>, which is not
>         supported by all shells.)

Thanks!  With s/environment variables/environment variable settings/ to
make it clearer that this includes cases like PATH=/opt/myprog/bin:$PATH,
sounds good to me, for what its worth.

> My only concern is that people might rules-lawyer about how
> such-and-such an environment variable isn't specific to a single program
> but a group of programs and so is somehow not covered by this; JAVA_HOME
> comes to mind.  Do we need to be explicit about this or is it clear
> enough?

Maybe dropping "its own" would take care of it.  That would make:

        A program must not depend on custom environment variable settings
        to get reasonable defaults.  (That's because ...



-- 
To UNSUBSCRIBE, email to debian-policy-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110915210951.GA31820@elie

Reply via email to