Skip to content
Snippets Groups Projects
Commit cbd98b2c authored by Dan Fandrich's avatar Dan Fandrich
Browse files

Make checksrc.pl work on out-of-tree builds

Source files given with absolute paths do not have the
-D directory specifier prepended.
parent 4685db94
No related branches found
No related tags found
No related merge requests found
......@@ -79,9 +79,10 @@ if(!$file) {
}
do {
if($file ne "$wlist") {
scanfile("$dir/$file");
my $fullname = $file;
$fullname = "$dir/$file" if $fullname !~ '^/';
scanfile($fullname);
}
$file = shift @ARGV;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment