[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/C4 Auth.pm [rel_3_0]
From: |
Antoine Farnault |
Subject: |
[Koha-cvs] koha/C4 Auth.pm [rel_3_0] |
Date: |
Thu, 19 Oct 2006 10:00:50 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: rel_3_0
Changes by: Antoine Farnault <toins> 06/10/19 10:00:50
Modified files:
C4 : Auth.pm
Log message:
Set the $VERSION properly.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Auth.pm?cvsroot=koha&only_with_tag=rel_3_0&r1=1.54.2.5&r2=1.54.2.6
Patches:
Index: Auth.pm
===================================================================
RCS file: /sources/koha/koha/C4/Auth.pm,v
retrieving revision 1.54.2.5
retrieving revision 1.54.2.6
diff -u -b -r1.54.2.5 -r1.54.2.6
--- Auth.pm 16 Oct 2006 09:03:52 -0000 1.54.2.5
+++ Auth.pm 19 Oct 2006 10:00:50 -0000 1.54.2.6
@@ -36,7 +36,8 @@
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
# set the version for version checking
-$VERSION = 0.01;
+$VERSION = do { my @v = '$Revision: 1.54.2.6 $' =~ /\d+/g;
+ shift(@v) . "." . join("_", map {sprintf "%03d", $_ } @v); };
=head1 NAME