From: timriker Date: Tue, 11 Nov 2003 20:55:15 +0000 (+0000) Subject: include version on cvs line X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=25a6532ef0a607ce8a79243e7dbdf1d8938cc6cc;p=infobot.git include version on cvs line git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@877 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/blootbot/src/core.pl b/blootbot/src/core.pl index f42fb2b..9aef5f6 100644 --- a/blootbot/src/core.pl +++ b/blootbot/src/core.pl @@ -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";