]> dxcluster.org Git - spider.git/commitdiff
change VERSION code
authorminima <minima>
Fri, 25 Feb 2005 10:12:55 +0000 (10:12 +0000)
committerminima <minima>
Fri, 25 Feb 2005 10:12:55 +0000 (10:12 +0000)
perl/DXDupe.pm

index 63fdcb2bb24534a41d7a970961b2edb34937f8d7..d514affde180cc996461eed5c6b7fd79610afdf5 100644 (file)
@@ -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
 {