Commit f461c6e6 authored by Yang Tse's avatar Yang Tse
Browse files

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

Source files given with relative paths do not have the
-D directory specifier prepended.
parent 3c9ff41a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;