Commit 35f35220 authored by zach%zachlipton.com's avatar zach%zachlipton.com

Fixing issue where excluded files aren't excluded if they end in .pl or

.cgi.
parent 4b1c3db9
......@@ -41,6 +41,11 @@ $file = '*';
sub isTestingFile {
my ($file) = @_;
my $exclude;
foreach $exclude (@exclude_files) {
if ($file eq $exclude) { return undef; } # get rid of excluded files.
}
if ($file =~ /\.cgi$|\.pl$/) {
return 1;
}
......@@ -48,10 +53,6 @@ sub isTestingFile {
foreach $additional (@additional_files) {
if ($file eq $additional) { return 1; }
}
my $exclude;
foreach $exclude (@exclude_files) {
if ($file eq $exclude) { return undef; } # get rid of excluded files.
}
return undef;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment