Check-in Number:
|
447 | |
Date: |
2001-May-04 17:06:55 (local)
2001-May-04 15:06:55 (UTC) |
User: | rse |
Branch: | |
Comment: |
add support for CVSUSER variable |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/shiela/shiela.pl 1.5 -> 1.6
--- shiela.pl 2001/05/04 13:33:53 1.5
+++ shiela.pl 2001/05/04 15:06:55 1.6
@@ -125,7 +125,7 @@
# supplied arguments
$RT->{cvsroot} = $ENV{CVSROOT} || die 'unknown CVS root (set $CVSROOT variable)';
- $RT->{userid} = $ENV{LOGNAME} || $ENV{LOGUSER} || $ENV{USER} || die 'unknown CVS user';
+ $RT->{userid} = $ENV{CVSUSER} || $ENV{LOGNAME} || $ENV{LOGUSER} || $ENV{USER} || die 'unknown CVS user';
# various directory paths
$RT->{tmpdir} = $ENV{TMPDIR} || $ENV{TEMPDIR} || '/tmp';
@@ -146,7 +146,7 @@
# determine user information
$RT->{username} = $CF->{Project}->{User}->{$RT->{userid}}->{name} ||
- die "unknown user `$RT->{userid}'";
+ die "CVS user `$RT->{userid}' not found in Shiela configuration";
$RT->{usermail} = $CF->{Project}->{User}->{$RT->{userid}}->{mail} ||
"$RT->{userid}\@localhost";
|
|