forked from len0rd/rockbox
updatelang: Don't rely on non-core modules
Change-Id: I262f47e10aee51116375238b458270e92e25154d
This commit is contained in:
parent
632385a4d0
commit
8159c9537f
1 changed files with 2 additions and 2 deletions
|
|
@ -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 = '';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue