diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-07-27 15:18:21 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-07-27 19:19:02 +0000 |
commit | 8159c9537fd2702719ebb31584c800b774976153 (patch) | |
tree | f6a9db6262ec7de66064199559ace39cbf0e6b39 /tools | |
parent | 632385a4d01448eb1099d8206095afe8b12ce143 (diff) | |
download | rockbox-8159c9537fd2702719ebb31584c800b774976153.tar.gz rockbox-8159c9537fd2702719ebb31584c800b774976153.zip |
updatelang: Don't rely on non-core modules
Change-Id: I262f47e10aee51116375238b458270e92e25154d
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/updatelang | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/updatelang b/tools/updatelang index a139bc77f8..cbeb3ff25c 100755 --- a/tools/updatelang +++ b/tools/updatelang | |||
@@ -9,7 +9,6 @@ | |||
9 | # Copyright (C) 2020 Solomon Peachy | 9 | # Copyright (C) 2020 Solomon Peachy |
10 | # | 10 | # |
11 | 11 | ||
12 | use Clone 'clone'; | ||
13 | use utf8; | 12 | use utf8; |
14 | use File::Basename; | 13 | use File::Basename; |
15 | 14 | ||
@@ -66,7 +65,8 @@ sub parselangfile { | |||
66 | $line eq '<phrase>') { | 65 | $line eq '<phrase>') { |
67 | $pos = 'phrase'; | 66 | $pos = 'phrase'; |
68 | } elsif ($line eq '</phrase>') { | 67 | } elsif ($line eq '</phrase>') { |
69 | $phrases{$id} = clone(\%thisphrase); | 68 | my %copy = %thisphrase; |
69 | $phrases{$id} = \%copy; | ||
70 | %thisphrase = %empty; | 70 | %thisphrase = %empty; |
71 | $pos = 'lang'; | 71 | $pos = 'lang'; |
72 | $id = ''; | 72 | $id = ''; |