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 | |
parent | 632385a4d01448eb1099d8206095afe8b12ce143 (diff) | |
download | rockbox-8159c95.tar.gz rockbox-8159c95.zip |
updatelang: Don't rely on non-core modules
Change-Id: I262f47e10aee51116375238b458270e92e25154d
-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 @@ # 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 = ''; |