Really export the data to templat toolkit
authorAlexander Wirt <formorer@debian.org>
Tue, 10 Jan 2012 08:48:06 +0000 (09:48 +0100)
committerAlexander Wirt <formorer@debian.org>
Tue, 10 Jan 2012 08:48:06 +0000 (09:48 +0100)
gen_website

index f0cab8d..6204a12 100755 (executable)
@@ -84,7 +84,7 @@ foreach my $file (@files) {
        next if $file =~ /$0$/;
        if ($file =~ /\.tt2$/) {
                my $output;
-               $template->process($file, undef, \$output)
+               $template->process($file, { mirrors => $mirrors }, \$output)
                        || die "Could not process file \"$file\": $!";
 
                my ($name,$path,$suffix) = fileparse($file,qw (.tt2));