From f93688a1cce24a225145e58618ea25a0cbf0dfd3 Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Sat, 9 Feb 2008 18:33:58 +0100 Subject: [PATCH] trivial_slice: Try to rename the right file Don't try to rename foo.EN.html.new, but foo.en.html.new --- bin/trivial_slice | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/trivial_slice b/bin/trivial_slice index 2f26a0c..80e44a8 100755 --- a/bin/trivial_slice +++ b/bin/trivial_slice @@ -94,8 +94,9 @@ foreach my $file (@files) { } } - foreach my $lang (keys %out) { - close($out{$lang}) + foreach my $lang (@langs) { + my $ulang = uc($lang); + close($out{$ulang}) or die "Couldn't close $path$name.$lang.html.new\n"; activate("$path$name.$lang.html"); } -- 2.39.2