summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter von Kaehne <refdoc@gmx.net>2015-12-25 00:54:38 +0000
committerPeter von Kaehne <refdoc@gmx.net>2015-12-25 00:54:38 +0000
commit64cf317fed6f484d864e5638788ddc7e8f2f86df (patch)
tree1cb1eba1fac1dc478522632b8e0f8f364183b2ad
parent213158853f38e4140451130f2117d1afbaf136ff (diff)
downloadsword-tools-64cf317fed6f484d864e5638788ddc7e8f2f86df.tar.gz
fixes
git-svn-id: https://www.crosswire.org/svn/sword-tools/trunk@506 07627401-56e2-0310-80f4-f8cd0041bdcd
-rwxr-xr-xmodules/conf/confmaker.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/conf/confmaker.pl b/modules/conf/confmaker.pl
index 53c4226..752399c 100755
--- a/modules/conf/confmaker.pl
+++ b/modules/conf/confmaker.pl
@@ -65,14 +65,14 @@ $nextarg = 1;
if (@ARGV[$nextarg] eq "-o") {
$outputFileName = "@ARGV[$nextarg+1]";
$nextarg += 2;
- open (OUTF, ">:utf8", "$outputFileName") or die "Could not open file $outputFileName for writing.";
+ open (OUTF,, ">:utf8", "$outputFileName") or die "Could not open file $outputFileName for writing.";
select(OUTF)
}
if (@ARGV[$nextarg] eq "-i") {
$inputFileName = "@ARGV[$nextarg+1]";
$nextarg += 2;
- open INF, "<:utf8","$inputFileName" ;
+ open (INF,, "<:utf8","$inputFileName") or die "Could not open inputfile $inputFileName for reading ;
@inputfile = <INF>;
}