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:
parent
3c9ff41a1f
commit
f461c6e61d
@ -81,7 +81,7 @@ if(!$file) {
|
|||||||
do {
|
do {
|
||||||
if($file ne "$wlist") {
|
if($file ne "$wlist") {
|
||||||
my $fullname = $file;
|
my $fullname = $file;
|
||||||
$fullname = "$dir/$file" if $fullname !~ '^/';
|
$fullname = "$dir/$file" if ($fullname !~ '^\.?\.?/');
|
||||||
scanfile($fullname);
|
scanfile($fullname);
|
||||||
}
|
}
|
||||||
$file = shift @ARGV;
|
$file = shift @ARGV;
|
||||||
|
Loading…
Reference in New Issue
Block a user