X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/289c1c3cd99a3da58102bc2169e4feaf92264394..b2a1abf6e90876e591aef88d9c71f61201f65dd6:/script/locale/merge-from-translatewiki diff --git a/script/locale/merge-from-translatewiki b/script/locale/merge-from-translatewiki index e3608acbf..3448e7069 100644 --- a/script/locale/merge-from-translatewiki +++ b/script/locale/merge-from-translatewiki @@ -317,8 +317,8 @@ sub get_translatewiki_translations { my @languages = @_; + my $cache_file = "/tmp/merge-from-translatewiki.storable"; if ($cache) { - my $cache_file = "/tmp/merge-from-translatewiki.storable"; if (-f $cache_file) { my $c = retrieve($cache_file); return %$c;