Update of /cvsroot/cogs/ensupdate
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12788
Modified Files:
setup.pl
Log Message:
misleading config info printed
Index: setup.pl
===================================================================
RCS file: /cvsroot/cogs/ensupdate/setup.pl,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** setup.pl 5 Dec 2005 16:53:11 -0000 1.9
--- setup.pl 1 Feb 2006 20:37:40 -0000 1.10
***************
*** 27,46 ****
my $shell=<STDIN>;
chomp $shell;
! if ($shell eq 2) {
print "To set your environment add this to your ~/.tcshrc file:
! SETENV ENS_HOST $host
! SETENV ENS_ADMIN $admin
! STEENV ENS_PASS $pass
! STEENV ENS_DATA $ddir
! then run this script again\n";
! }
! else {
! print "To set your environment add this to your ~/.bashrc file:
! EXPORT ENS_HOST=$host
! EXPORT ENS_ADMIN=$admin
! EXPORT ENS_PASS=$pass
! EXPORT ENS_DATA=$ddir
then run this script again\n";
- }
exit();
}
--- 27,39 ----
my $shell=<STDIN>;
chomp $shell;
! $shcom=$shell==1?'export':'setenv';
!
print "To set your environment add this to your ~/.tcshrc file:
! $shcom ENS_HOST $host
! $shcom ENS_ADMIN $admin
! $shcom ENS_PASS $pass
! $shcom ENS_DATA $ddir
! restart your shell
then run this script again\n";
exit();
}
|