create_index_pages: Fix slices output
authorFrank Lichtenheld <frank@lichtenheld.de>
Sat, 9 Feb 2008 01:39:20 +0000 (02:39 +0100)
committerFrank Lichtenheld <frank@lichtenheld.de>
Sat, 9 Feb 2008 01:39:20 +0000 (02:39 +0100)
trivial_slice is *very* picky ;)

bin/create_index_pages

index 8b1f6577550dc0b732123b648715d852c3e0dd94..811a3e574a60adc34f928b0e24751c655f4959e6 100755 (executable)
@@ -97,7 +97,7 @@ sub close_file {
     print "closing $key\n";
 
     foreach my $lang (@LANGUAGES) {
-       print {$fh{$key}} "$s{begin}{$lang}\n";
+       print {$fh{$key}} "\n$s{begin}{$lang}\n";
        $template->page( 'index_foot',
                         { %{$lang_vars{$lang}},
                           %$vars },