Make checksrc.pl work on more out-of-tree builds
Source files given with relative paths do not have the -D directory specifier prepended.
This commit is contained in:
Родитель
3c9ff41a1f
Коммит
f461c6e61d
|
@ -81,7 +81,7 @@ if(!$file) {
|
|||
do {
|
||||
if($file ne "$wlist") {
|
||||
my $fullname = $file;
|
||||
$fullname = "$dir/$file" if $fullname !~ '^/';
|
||||
$fullname = "$dir/$file" if ($fullname !~ '^\.?\.?/');
|
||||
scanfile($fullname);
|
||||
}
|
||||
$file = shift @ARGV;
|
||||
|
|
Загрузка…
Ссылка в новой задаче