1
0
Fork 0
forked from len0rd/rockbox

updatelang: don't special-case english-us yet

Change-Id: If1a331d4f603154c036cd6c6b46f3a11e5e595e4
This commit is contained in:
Solomon Peachy 2020-07-27 22:17:40 -04:00
parent e1681345cc
commit f30f1bb467

View file

@ -412,17 +412,17 @@ foreach my $id (@langorder) {
########## Write new language file ########## Write new language file
my $printnotes = 1; my $printnotes = 1;
my @tmp = split(/\./, basename($ARGV[0])); #my @tmp = split(/\./, basename($ARGV[0]));
my $f1 = $tmp[0]; #my $f1 = $tmp[0];
@tmp = split(/\./, basename($ARGV[1])); #@tmp = split(/\./, basename($ARGV[1]));
my $f2 = $tmp[0]; #my $f2 = $tmp[0];
#
if (index($f2, $f1) > -1) { #if (index($f2, $f1) > -1) {
$printnotes = 0; # $printnotes = 0;
} #}
undef $f1; #undef $f1;
undef $f2; #undef $f2;
undef @tmp; #undef @tmp;
my $fh; my $fh;
if ($ARGV[2] ne '-') { if ($ARGV[2] ne '-') {