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:
Linus Nielsen Feltzing 2003-03-09 13:44:33 +00:00
parent 3a5ddf566e
commit f28f404e6e

View file

@ -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;