diff options
author | Peter von Kaehne <refdoc@gmx.net> | 2015-08-22 13:22:28 +0000 |
---|---|---|
committer | Peter von Kaehne <refdoc@gmx.net> | 2015-08-22 13:22:28 +0000 |
commit | 869970cbd90dda805d42252689b048f4075cead6 (patch) | |
tree | 43329670110410764ba2f405964aba2ccd9c7331 | |
parent | 839e6f41652b84fa82e727b6b8da2e0eeae22299 (diff) | |
download | sword-tools-869970cbd90dda805d42252689b048f4075cead6.tar.gz |
A number of small bugs eliminated
git-svn-id: https://www.crosswire.org/svn/sword-tools/trunk@501 07627401-56e2-0310-80f4-f8cd0041bdcd
-rwxr-xr-x | modules/conf/confmaker.pl | 12 |
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"; - } |