Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
35f35220
Commit
35f35220
authored
Oct 06, 2001
by
zach%zachlipton.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing issue where excluded files aren't excluded if they end in .pl or
.cgi.
parent
4b1c3db9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
Files.pm
t/Support/Files.pm
+5
-4
No files found.
t/Support/Files.pm
View file @
35f35220
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment