Signed-off-by: Francois Gouget fgouget@codeweavers.com --- winetest/build-index | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/winetest/build-index b/winetest/build-index index 2d25f2cb3..a469dfb6d 100755 --- a/winetest/build-index +++ b/winetest/build-index @@ -218,10 +218,12 @@ my @too_old; opendir(DIR, "data") or die "could not open the 'data' directory: $!"; foreach my $build (readdir(DIR)) { - next if ($build =~ /^(..?|index.html|errors.html|tests)$/); if ($build !~ /^[0-9a-f]{40}$/) { - error("'data/$build' is not a valid build directory\n"); + if ($build !~ /^(..?|errors.html|index.html|tests)$/) + { + error("'data/$build' is not a valid build directory\n"); + } next; } next unless -f "data/$build/index.html";