X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXCommandmode.pm;h=6fbe90482f23dcaae9b34db21c97f877c15e5618;hb=b7cacf8c291739ffb8630c4d2a275cb9c9074e45;hp=3701c085d39823fe8ec622ec1f24f1ceb8f3812a;hpb=ef2bc0f99b5022339b14dcc56f49547220b79f11;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