[sword-svn] r501 - trunk/modules/conf

refdoc at crosswire.org refdoc at crosswire.org
Sat Aug 22 06:22:28 MST 2015


Author: refdoc
Date: 2015-08-22 06:22:28 -0700 (Sat, 22 Aug 2015)
New Revision: 501

Modified:
   trunk/modules/conf/confmaker.pl
Log:
A number of small bugs eliminated


Modified: trunk/modules/conf/confmaker.pl
===================================================================
--- trunk/modules/conf/confmaker.pl	2015-07-29 23:39:00 UTC (rev 500)
+++ trunk/modules/conf/confmaker.pl	2015-08-22 13:22:28 UTC (rev 501)
@@ -168,9 +168,9 @@
 # Assemble and print out
 
 print "[".$doc_name."]\n";
-print "DataPath=./modules/texts/ztext/".$doc_name."\n";
+print "DataPath=./modules/texts/ztext/".lc($doc_name)."\n";
 
-if ($doc_type =~ m/Bible/) { print  "ModDrv=zText\n"}
+if ($doc_type =~ m/Bible/i) { print  "ModDrv=zText\n"}
 else {print  "ModDrv=zUnknown\n"}
 
 print "CompressType=ZIP\n";
@@ -202,13 +202,10 @@
    print "Feature=".$doc_feature{'p'}."\n"
    }
 
-
-
-
-
 print  "Encoding=UTF-8\n";
 print  "SourceType=OSIS\n";
 print  "LCSH=".$doc_type.".".I18N::LangTags::List::name($doc_lang)."\n";
+print  "SwordVersionDate=".`date +"%F"`."\n";
 
 if (@inputFile>0) {
    foreach(@inputFile) {
@@ -218,10 +215,7 @@
 elsif (!$makefile){
    print "Version=1.0\n";
    print "History=1.0 First release\n";
-   print "SwordVersionDate=".`date +"%F"`;
    print "DistributionLicense=copyrighted. Do not distribute\n";   
    print "Description=".$doc_name." Bible in ".$doc_lang_name."\n";
    print "About=".$doc_name." Bible in ".$doc_lang_name."\n";
-   print  "LCSH=".$doc_type.".".$doc_lang_name."\n";
-
 }




More information about the sword-cvs mailing list