From: minima Date: Mon, 15 Jan 2007 21:41:41 +0000 (+0000) Subject: fix VERSION X-Git-Tag: 1.54~39 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=e57e5b72e644078809e8bf44e67a615e7f115024;p=spider.git fix VERSION --- diff --git a/perl/Route.pm b/perl/Route.pm index 6d5a3b01..22af4beb 100644 --- a/perl/Route.pm +++ b/perl/Route.pm @@ -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);