From dbdb898e15aaeeac6106b4f49262a16c84177226 Mon Sep 17 00:00:00 2001 From: minima Date: Fri, 25 Feb 2005 10:12:55 +0000 Subject: [PATCH] change VERSION code --- perl/DXDupe.pm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 { -- 2.43.0