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 e3608ac..3448e70 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;