From: minima Date: Fri, 25 Feb 2005 10:12:55 +0000 (+0000) Subject: change VERSION code X-Git-Tag: R_1_52~128 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=dbdb898e15aaeeac6106b4f49262a16c84177226;p=spider.git change VERSION code --- diff --git a/perl/DXDupe.pm b/perl/DXDupe.pm index 63fdcb2b..d514affd 100644 --- a/perl/DXDupe.pm +++ b/perl/DXDupe.pm @@ -20,10 +20,8 @@ $lasttime = 0; $fn = "$main::data/dupefile"; 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$); sub init {