projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change VERSION code
[spider.git]
/
perl
/
DXDupe.pm
diff --git
a/perl/DXDupe.pm
b/perl/DXDupe.pm
index 3ccb23c89dd22df1b21369691cd2cf4950f8caf8..d514affde180cc996461eed5c6b7fd79610afdf5 100644
(file)
--- a/
perl/DXDupe.pm
+++ b/
perl/DXDupe.pm
@@
-20,10
+20,8
@@
$lasttime = 0;
$fn = "$main::data/dupefile";
use vars qw($VERSION $BRANCH);
$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
{
sub init
{
@@
-54,7
+52,7
@@
sub check
sub find
{
sub find
{
- return
1 if exists
$d{$_[0]};
+ return $d{$_[0]};
}
sub add
}
sub add