push @fn, $1;
}
close CL;
+my $subbuild;
foreach my $fn (@fn) {
$fn =~ s|::|/|g;
open(CL, "$main::root/perl/${fn}.pm") or next;
while (<CL>) {
- if (/^#\s+\$Id:\s+[\w\._]+,v\s+(\d+\.\d+)/ ) {
+ if (/^#\s+\$Id:\s+[\w\._]+,v\s+(\d+\.\d+)\.?(\d+.\d+)?/ ) {
$build += $1;
+ $subbuild += $2 if $2;
last;
}
}
close CL;
}
+$build = "$build.$subbuild" if $subbuild;
Log('cluster', "DXSpider V$version, build $build started");
# make sure that there is a routing OUTPUT node default file
unless (Filter::read_in('route', 'node_default', 0)) {
my $dxcc = $DXProt::me->dxcc;
- $Route::filterdef->cmd($DXProt::me, 'route', 'accept', "node_default call_dxcc $dxcc" );
+ $Route::filterdef->cmd($DXProt::me, 'route', 'accept', "node_default call $mycall" );
}
# read in any existing message headers and clean out old crap