X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXCommandmode.pm;h=6fbe90482f23dcaae9b34db21c97f877c15e5618;hb=ad7e69f78ee4c0593e1d7576a7c1fd3b13931f84;hp=3701c085d39823fe8ec622ec1f24f1ceb8f3812a;hpb=7b5fc52d020d360a455a8432afa9a51b290a7e99;p=spider.git diff --git a/perl/DXCommandmode.pm b/perl/DXCommandmode.pm index 3701c085..6fbe9048 100644 --- a/perl/DXCommandmode.pm +++ b/perl/DXCommandmode.pm @@ -55,10 +55,7 @@ $cmdimportdir = "$main::root/cmd_import"; # the base directory for importing com # 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; +($VERSION, $BRANCH) = dxver(q$Revision$); # # obtain a new connection this is derived from dxchannel