[Top][All Lists]

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

Re: a commit script

From: Larry Jones
Subject: Re: a commit script
Date: Thu, 13 Mar 2003 11:29:40 -0500 (EST)

Mark D. Baushke writes:
> > * The line of the commitinfo file that is calling your program
> > might help to determine if all the arguments make sense.
> >  > ALL /usr/local/src/cvsssupport/commit.branch ${USER}
> I don't understand why you don't just use $ENV{'USER'} inside your perl
> script to get the same value as the environment's ${USER}, but what you
> have should work.

Because ${USER} in the administrative files is a CVS internal variable
that contains the *CVS* username whereas the ${USER} environment
variable contains the *sysem* username CVS is running as.  When using
pserver, they can be different.

-Larry Jones

I think your train of thought is a runaway. -- Calvin's Mom

reply via email to

[Prev in Thread] Current Thread [Next in Thread]