]> git.openstreetmap.org Git - rails.git/blobdiff - script/locale/merge-from-translatewiki
compile error in previous commit
[rails.git] / script / locale / merge-from-translatewiki
index e3608acbfb6da4116d3f08774e57a8d8b93c58b3..3448e70691f211cfbb7dc6a50ff344f38cb5271d 100644 (file)
@@ -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;