Commit c989072b authored by Yoshiki Hayashi's avatar Yoshiki Hayashi
Browse files

Expand .html.en, .html.fr and .html.ja.jis as well as

.html and .html.html.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89905 13f79535-47bb-0310-9956-ffa450edef68
parent 502570f2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -73,7 +73,7 @@ closedir DIR;
foreach $dir (@dirs) {
    print "Entering directory $dir\n";
    opendir SUBDIR, "$dir" or die "Could not open subdir $dir: $!";
    foreach $file (grep /\.html$/, readdir SUBDIR) {
    foreach $file (grep /\.html(\.[^.]+)*$/, readdir SUBDIR) {
	print "Expanding file $dir/$file\n";
	rename "$dir/$file", "$dir/${file}.old";
	open READ, "$dir/${file}.old" or die "Couldn't read $dir/$file: $!";