1
0
Fork 0
forked from len0rd/rockbox

updatelang: Don't rely on non-core modules

Change-Id: I262f47e10aee51116375238b458270e92e25154d
This commit is contained in:
Solomon Peachy 2020-07-27 15:18:21 -04:00
parent 632385a4d0
commit 8159c9537f

View file

@ -9,7 +9,6 @@
# Copyright (C) 2020 Solomon Peachy
#
use Clone 'clone';
use utf8;
use File::Basename;
@ -66,7 +65,8 @@ sub parselangfile {
$line eq '<phrase>') {
$pos = 'phrase';
} elsif ($line eq '</phrase>') {
$phrases{$id} = clone(\%thisphrase);
my %copy = %thisphrase;
$phrases{$id} = \%copy;
%thisphrase = %empty;
$pos = 'lang';
$id = '';