projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change build number calculation to be more accurate
[spider.git]
/
perl
/
AnnTalk.pm
diff --git
a/perl/AnnTalk.pm
b/perl/AnnTalk.pm
index b7eb1311772759e78114fd4401c2ecc2f4d627ec..77f80fe29bc8c2308495d7405455f294efbdd55b 100644
(file)
--- a/
perl/AnnTalk.pm
+++ b/
perl/AnnTalk.pm
@@
-31,11
+31,16
@@
$filterdef = bless ([
['by_dxcc', 'n', 7],
['by_itu', 'n', 8],
['by_zone', 'n', 9],
['by_dxcc', 'n', 7],
['by_itu', 'n', 8],
['by_zone', 'n', 9],
- ['origin_dxcc', '
c
', 10],
- ['origin_itu', '
c
', 11],
- ['origin_itu', '
c
', 12],
+ ['origin_dxcc', '
n
', 10],
+ ['origin_itu', '
n
', 11],
+ ['origin_itu', '
n
', 12],
], 'Filter::Cmd');
], 'Filter::Cmd');
+use vars qw($VERSION $BRANCH);
+$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ );
+$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/ ) || 0;
+$main::build += $VERSION;
+$main::branch += $BRANCH;
# enter the spot for dup checking and return true if it is already a dup
sub dup
# enter the spot for dup checking and return true if it is already a dup
sub dup