diff --git a/webtools/despot/syncit.pl b/webtools/despot/syncit.pl index 79c4e07f7af..68d6ed1c1fd 100755 --- a/webtools/despot/syncit.pl +++ b/webtools/despot/syncit.pl @@ -29,7 +29,13 @@ $perlbin = "/tools/ns/bin/perl5.004"; #$cvs = "/usr/bin/cvs"; #$whoami = "/usr/bin/whoami"; #$perlbin = "/usr/bin/perl"; + +#$curdir = `pwd`; +#chop($curdir); +#$ENV{"CVS_PASSFILE"} = "$curdir/.cvspass"; +$ENV{"CVS_PASSFILE"} = "/usr/local/etc/despot-cvspass"; + $dontcommit = 0; $usertoblame = ""; @@ -70,10 +76,6 @@ if (open(HOST, "/bin/hostname|")) { $ENV{"HOME"} = glob("~$mylogin"); # CVS wants this. -$curdir = `pwd`; -chop($curdir); -$ENV{"CVS_PASSFILE"} = "$curdir/.cvspass"; - if ($usertoblame eq "") { $usertoblame = $mylogin; }