]> dxcluster.org Git - spider.git/commitdiff
fix wanrning for VERSION
authorminima <minima>
Tue, 22 Feb 2005 13:00:42 +0000 (13:00 +0000)
committerminima <minima>
Tue, 22 Feb 2005 13:00:42 +0000 (13:00 +0000)
perl/Route/User.pm

index d63850d89e8de89e8c20e1e75c661d6ca10c3a7f..ba03b1a962ae504fd6dd7c102da375e401bccc66 100644 (file)
@@ -14,10 +14,8 @@ use Route;
 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;
+
+main::mkver($VERSION = q$Revision$);
 
 use vars qw(%list %valid @ISA $max $filterdef);
 @ISA = qw(Route);