summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-27 15:18:21 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-27 19:19:02 +0000
commit8159c9537fd2702719ebb31584c800b774976153 (patch)
treef6a9db6262ec7de66064199559ace39cbf0e6b39 /tools
parent632385a4d01448eb1099d8206095afe8b12ce143 (diff)
downloadrockbox-8159c9537fd2702719ebb31584c800b774976153.tar.gz
rockbox-8159c9537fd2702719ebb31584c800b774976153.zip
updatelang: Don't rely on non-core modules
Change-Id: I262f47e10aee51116375238b458270e92e25154d
Diffstat (limited to 'tools')
-rwxr-xr-xtools/updatelang4
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 @@
# 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 = '';