]> git.donarmstrong.com Git - infobot.git/commitdiff
include version on cvs line
authortimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Tue, 11 Nov 2003 20:55:15 +0000 (20:55 +0000)
committertimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Tue, 11 Nov 2003 20:55:15 +0000 (20:55 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@877 c11ca15a-4712-0410-83d8-924469b57eb5

src/core.pl

index f42fb2be3d91bb3514148b1d77c0090768a679c9..9aef5f63b0266a8ca718208373a6ea990d92ae27 100644 (file)
@@ -78,11 +78,10 @@ $nottime    = 0;
 $notsize       = 0;
 $notcount      = 0;
 ###
+$bot_release   = "1.1.0";
 if ( -d "CVS" ) {
     use POSIX qw(strftime);
-    $bot_release       = strftime("cvs (%Y%m%d)", gmtime( (stat("CVS"))[9] ) );
-} else {
-    $bot_release       = "1.0.10 (2001xxxx)";
+    $bot_release       .= strftime(" cvs (%Y%m%d)", gmtime( (stat("CVS"))[9] ) );
 }
 $bot_version   = "blootbot $bot_release -- $^O";
 $noreply       = "NOREPLY";