Commit 0ee6a1b1 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 329295: 008filter fails if . is not in PATH - Patch by Vlad Dascalu…

Bug 329295: 008filter fails if . is not in PATH - Patch by Vlad Dascalu <vladd@bugzilla.org> r=LpSolit a=myk
parent 50fb815d
......@@ -163,6 +163,9 @@ sub directive_ok {
# Empty directives are ok; they are usually line break helpers
return 1 if $directive eq '';
# Make sure we're not looking for ./ in the $safe hash
$file =~ s#^\./##;
# Exclude those on the nofilter list
if (defined($safe{$file}{$directive})) {
$safe{$file}{$directive}++;
......
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