[Mungo-devel] [mungo commit] r118 - trunk/lib

svn-commit at lists.omniti.com svn-commit at lists.omniti.com
Tue Feb 28 18:47:41 EST 2012


Author: clinton
Date: 2012-02-28 18:47:41 -0500 (Tue, 28 Feb 2012)
New Revision: 118

Modified:
   trunk/lib/Mungo.pm
Log:
tid18099 refs #931 Put Mungo version on one line so build tools will parse it, for gknop

Modified: trunk/lib/Mungo.pm
===================================================================
--- trunk/lib/Mungo.pm	2011-04-17 01:43:09 UTC (rev 117)
+++ trunk/lib/Mungo.pm	2012-02-28 23:47:41 UTC (rev 118)
@@ -276,9 +276,7 @@
             $DEFAULT_POST_BLOCK_SIZE $DEFAULT_POST_MAX_SIZE
             $DEFAULT_POST_MAX_PART $DEFAULT_POST_MAX_IN_MEMORY/;
 
-my $SVN_VERSION = 0;
-$SVN_VERSION = $1 if(q$Revision$ =~ /(\d+)/);
-$VERSION = "1.1.0.${SVN_VERSION}";
+$VERSION = "1.1.0." . (qw$Revision$)[1];
 
 $DEFAULT_POST_BLOCK_SIZE = 1024*32;          # 32k
 $DEFAULT_POST_MAX_SIZE = 0;             # unlimited post size



More information about the Mungo-devel mailing list