зеркало из https://github.com/mozilla/pjs.git
Bug 329295: 008filter fails if . is not in PATH - Patch by Vlad Dascalu <vladd@bugzilla.org> r=LpSolit a=myk
This commit is contained in:
Родитель
8830ee8078
Коммит
1321b5c0e5
|
@ -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}++;
|
||||
|
|
Загрузка…
Ссылка в новой задаче