cvs commit: src/kerberos5/lib/libroken Makefile

Dag-ErlingSmørgrav des at des.no
Tue Feb 3 09:18:55 PST 2004


Andre Oppermann <andre at freebsd.org> writes:
> I'm not a perl hacker so I can't really comment on the code snipped
> below but it looks strange that the first $ENV{} has the environment
> variable name in "" and the second one in '' quotes.

this has no significance.

>  # The username of the committer.
>  $COMMITTER = $ENV{"LOGNAME"} || $ENV{'USER'} || getlogin
>  		|| (getpwuid($<))[0] || sprintf("uid#%d",$<);

This should be

$COMMITTER = $ENV{'CVS_USER'} ||
    die("Not invoked by CVS!\n");

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the cvs-src mailing list