X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FCmdAlias.pm;h=803f762f729a4ea7b1aa54f49dc6261f498b3503;hb=18f2934d60c7a702ac9eeca325914e4c346c0621;hp=39136bd1b333fd7f5e293e31d656a8108eb16ee8;hpb=0bd9d2811cc42417676a1b11b121681c2377d70a;p=spider.git diff --git a/perl/CmdAlias.pm b/perl/CmdAlias.pm index 39136bd1..803f762f 100644 --- a/perl/CmdAlias.pm +++ b/perl/CmdAlias.pm @@ -32,6 +32,12 @@ use vars qw(%alias %newalias $fn $localfn); $fn = "$main::cmd/Aliases"; $localfn = "$main::localcmd/Aliases"; +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; + sub load { my $ref = shift; @@ -117,4 +123,6 @@ sub get_hlp return undef; } +1; +