Enlightenment CVS committal
Author : xcomputerman
Module : CVSROOT
Dir : CVSROOT
Modified Files:
ciabot.pl
Log Message:
We're almost there
===================================================================
RCS file: /cvsroot/enlightenment/CVSROOT/ciabot.pl,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- ciabot.pl 16 Jan 2004 08:00:25 -0000 1.23
+++ ciabot.pl 16 Jan 2004 08:18:20 -0000 1.24
@@ -27,7 +27,7 @@
# If it does not work, try to disable $xml_rpc in the configuration section
# below.
#
-# $Id: ciabot.pl,v 1.23 2004/01/16 08:00:25 xcomputerman Exp $
+# $Id: ciabot.pl,v 1.24 2004/01/16 08:18:20 xcomputerman Exp $
use strict;
use vars qw ($project $from_email $dest_email $rpc_uri $sendmail $sync_delay
@@ -265,10 +265,10 @@
# for (my $ix = 0; $ix < $pcount; $ix++) {
# s#^[^/]*##; # weed out the module name
# }
- if ($pcount eq 2) {
- s#^.*?/.*?/##;
- } elsif ($pcount eq 3) {
- s#^.*?/.*?/.*?/##;
+ if ($pcount == 3) {
+ s/.*\/.*\/.*\///;
+ } elsif ($pcount == 2) {
+ s/.*\/.*\/.*\///;
} else {
s#^.*?/##;
}
-------------------------------------------------------
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