[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Shell variable



On Fri, May 27, 2005 at 09:14:45PM -0400, sean finney wrote:
> hi,
> 
> On Sat, May 28, 2005 at 01:19:05AM +0100, Adrian Mastronardi wrote:
> > I need to setup an shell variable:
> > ENFDATA=/usr/share/rnamotif/enfdata/
> 
> according to debian policy, programs must not have to rely on the
> existence of environment variables.  what you should probably do is
> hard-code into the applications that need this variable a default
> location of /usr/share/rnamotif/enfdata/, and then allow the user to
> override this value via the same environment variable.

... and if that isn't possible (e.g., you're packaging something which
will go into non-free), then you need to use a wrapper script.

-- 
The amount of time between slipping on the peel and landing on the
pavement is precisely one bananosecond



Reply to: