[sword-svn] r428 - trunk/versification

chrislit at crosswire.org chrislit at crosswire.org
Fri Jul 12 21:13:25 MST 2013


Author: chrislit
Date: 2013-07-12 21:13:25 -0700 (Fri, 12 Jul 2013)
New Revision: 428

Modified:
   trunk/versification/v11nsys.pl
Log:
minor fix to generate the current year for the copyright

Modified: trunk/versification/v11nsys.pl
===================================================================
--- trunk/versification/v11nsys.pl	2013-07-08 06:09:58 UTC (rev 427)
+++ trunk/versification/v11nsys.pl	2013-07-13 04:13:25 UTC (rev 428)
@@ -15,6 +15,8 @@
 $aMode = "";
 $warn = 1;
 
+($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time);
+
 if (@ARGV[0] ne "") {
     $n = 0;
     while (@ARGV[$n] ne "") {
@@ -198,7 +200,7 @@
     open INF, $infile;
     open OUTF, ">$outfile";
 
-    print OUTF "/******************************************************************************\n * $outfile - Versification data for the $v11n system\n *\n * Copyright 2009 CrossWire Bible Society (http://www.crosswire.org)\n *	CrossWire Bible Society\n *	P. O. Box 2528\n *	Tempe, AZ  85280-2528\n *\n * This program is free software; you can redistribute it and/or modify it\n * under the terms of the GNU General Public License as published by the\n * Free Software Foundation version 2.\n *\n * This program is distributed in the hope that it will be useful, but\n * WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * General Public License for more details.\n */\n";
+    print OUTF "/******************************************************************************\n * $outfile - Versification data for the $v11n system\n *\n * Copyright " . ($year+1900) . " CrossWire Bible Society (http://www.crosswire.org)\n *	CrossWire Bible Society\n *	P. O. Box 2528\n *	Tempe, AZ  85280-2528\n *\n * This program is free software; you can redistribute it and/or modify it\n * under the terms of the GNU General Public License as published by the\n * Free Software Foundation version 2.\n *\n * This program is distributed in the hope that it will be useful, but\n * WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * General Public License for more details.\n */\n";
     print OUTF "\n#ifndef CANON_" . uc($v11n) . "_H\n#define CANON_" . uc($v11n) . "_H\n\nSWORD_NAMESPACE_START\n\n\n";
 
     $thisBook = "";




More information about the sword-cvs mailing list