]> git.openstreetmap.org Git - rails.git/commitdiff
compile error in previous commit
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Wed, 30 Sep 2009 17:43:02 +0000 (17:43 +0000)
committerÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Wed, 30 Sep 2009 17:43:02 +0000 (17:43 +0000)
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;