[1983] in Moira
calendar.gen change
daemon@ATHENA.MIT.EDU (Mark Silis)
Fri Aug 16 00:52:09 2002
Date: Fri, 16 Aug 2002 00:52:04 -0400
From: Mark Silis <mark@MIT.EDU>
To: moiradev@MIT.EDU
Cc: mark@MIT.EDU
Message-ID: <20020816045204.GA16715@I-fear-reorgs.mit.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
I need this quick change, in order to be able to do joins against another
data set feeding the calendar server. Hopefully after this one I should be able
to start using it. Thanks
-- Mark
Index: calendar.gen
===================================================================
RCS file: /afs/.athena/astaff/project/moiradev/repository/moira/gen/calendar.gen,v
retrieving revision 1.1
diff -u -r1.1 calendar.gen
--- calendar.gen 2002/05/19 21:53:39 1.1
+++ calendar.gen 2002/08/16 04:46:18
@@ -26,7 +26,7 @@
open(OUT, ">$outfile") || exit $MR_OCONFIG;
while (($clearid, $login, $first, $middle, $last) = $sth->fetchrow_array) {
- $row = "$clearid^UID=$login/S=$last/G=$first/I=$middle/";
+ $row = "$clearid|$login^UID=$login/S=$last/G=$first/I=$middle/";
$row .= "EMAIL=$login\@mit.edu\n";
$row =~ s/\0//g;
print OUT $row;