Enlightenment CVS committal

Author  : xcomputerman
Module  : CVSROOT

Dir     : CVSROOT


Modified Files:
        ciabot.pl 


Log Message:
Let's try this module name thing again, with some help from atmos...

===================================================================
RCS file: /cvsroot/enlightenment/CVSROOT/ciabot.pl,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- ciabot.pl   14 Jan 2004 21:52:07 -0000      1.8
+++ ciabot.pl   16 Jan 2004 02:02:27 -0000      1.9
@@ -27,7 +27,7 @@
 # If it does not work, try to disable $xml_rpc in the configuration section
 # below.
 #
-# $Id: ciabot.pl,v 1.8 2004/01/14 21:52:07 xcomputerman Exp $
+# $Id: ciabot.pl,v 1.9 2004/01/16 02:02:27 xcomputerman Exp $
 
 use strict;
 use vars qw ($project $from_email $dest_email $rpc_uri $sendmail $sync_delay
@@ -115,8 +115,17 @@
 
 # Guess module name.
 
-$module = $dir[0]; $module =~ s#/.*##;
-
+#$module = $dir[0]; $module =~ s#/.*##;
+$_ = $dir[0];
+(my $first, my $second, my $third) = /^((\w*)\/(\w+| )*\/(.*))/;
+if ($first eq 'e17') {
+  $module = $first . "/" . $second . "/" . $third;
+} else if ($first eq 'CVSROOT') {
+  $module = $first;
+} else {
+  $module = $first . "/" . $second;
+}
+   
 
 # Figure out who is doing the update.
 




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to