Added error checking when opening the files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3401 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3a5ddf566e
commit
f28f404e6e
1 changed files with 3 additions and 3 deletions
|
@ -39,9 +39,9 @@ my $output = $ARGV[2];
|
|||
|
||||
my $idnum=0;
|
||||
|
||||
open(ENG, "<$english");
|
||||
open(LANG, "<$input");
|
||||
open(OFILE, ">$output");
|
||||
open(ENG, "<$english") or die "Can't open $english";
|
||||
open(LANG, "<$input") or die "Can't open $input";
|
||||
open(OFILE, ">$output" or die "Can't open $output");
|
||||
|
||||
my $langversion = 1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue