diff options
author | Peter von Kaehne <refdoc@gmx.net> | 2015-12-25 00:54:38 +0000 |
---|---|---|
committer | Peter von Kaehne <refdoc@gmx.net> | 2015-12-25 00:54:38 +0000 |
commit | 64cf317fed6f484d864e5638788ddc7e8f2f86df (patch) | |
tree | 1cb1eba1fac1dc478522632b8e0f8f364183b2ad /modules/conf/confmaker.pl | |
parent | 213158853f38e4140451130f2117d1afbaf136ff (diff) | |
download | sword-tools-64cf317fed6f484d864e5638788ddc7e8f2f86df.tar.gz |
fixes
git-svn-id: https://www.crosswire.org/svn/sword-tools/trunk@506 07627401-56e2-0310-80f4-f8cd0041bdcd
Diffstat (limited to 'modules/conf/confmaker.pl')
-rwxr-xr-x | modules/conf/confmaker.pl | 4 |
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>; } |