]> dxcluster.net Git - spider.git/commitdiff
fix VERSION
authorminima <minima>
Mon, 15 Jan 2007 21:41:41 +0000 (21:41 +0000)
committerminima <minima>
Mon, 15 Jan 2007 21:41:41 +0000 (21:41 +0000)
perl/Route.pm

index 6d5a3b0182ae978ecbcba7c631ee3645fdffa3a6..22af4beb11bbd38ead1d830793357babb3a95c75 100644 (file)
@@ -22,10 +22,7 @@ use strict;
 
 
 use vars qw($VERSION $BRANCH);
-$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ );
-$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/  || (0,0));
-$main::build += $VERSION;
-$main::branch += $BRANCH;
+($VERSION, $BRANCH) = dxver(q$Revision$);
 
 use vars qw(%list %valid $filterdef);