From: Ævar Arnfjörð Bjarmason Date: Wed, 30 Sep 2009 17:43:02 +0000 (+0000) Subject: compile error in previous commit X-Git-Tag: live~7195 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/b2a1abf6e90876e591aef88d9c71f61201f65dd6 compile error in previous commit --- 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;