summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmodules/conf/confmaker.pl12
1 files changed, 3 insertions, 9 deletions
diff --git a/modules/conf/confmaker.pl b/modules/conf/confmaker.pl
index 8b9e229..81bb283 100755
--- a/modules/conf/confmaker.pl
+++ b/modules/conf/confmaker.pl
@@ -168,9 +168,9 @@ if (@paragraphs==0) {$doc_has_feature{'p'}=true};
# 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 @@ if ($doc_has_feature{'p'}) {
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 @@ if (@inputFile>0) {
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";
-
}