[Koha-cvs] CVS: koha/C4 Search.pm,1.98,1.99

Chris Cormack rangi at users.sourceforge.net
Wed Dec 15 07:08:09 CET 2004


Update of /cvsroot/koha/koha/C4
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29085

Modified Files:
	Search.pm 
Log Message:
Making the version number reflect the cvs version, to allow for easier
debugging.
If we can ask people what version of a module they are running it makes
error checking easier


Index: Search.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Search.pm,v
retrieving revision 1.98
retrieving revision 1.99
diff -C2 -r1.98 -r1.99
*** Search.pm	12 Nov 2004 17:26:24 -0000	1.98
--- Search.pm	15 Dec 2004 06:08:06 -0000	1.99
***************
*** 30,34 ****
  
  # set the version for version checking
! $VERSION = 0.02;
  
  =head1 NAME
--- 30,35 ----
  
  # set the version for version checking
! $VERSION = do { my @v = '$Revision$' =~ /\d+/g;
!           shift(@v) . "." . join("_", map {sprintf "%03d", $_ } @v); };
  
  =head1 NAME





More information about the Koha-cvs mailing list