aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2015-03-17 23:26:48 +0100
committerDan Fandrich <dan@coneharvesters.com>2015-03-17 23:26:48 +0100
commit252e9acd509cf1bf575b9b123c014a9b56dabb21 (patch)
tree810bf2ce3c68524273e9988e47086aa4cbdb004b
parent4d6e079dd2868c035e0b6eb8af5b2ecd683c667b (diff)
checksrc: Fix whitelist on out-of-tree builds
-rwxr-xr-xlib/checksrc.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/checksrc.pl b/lib/checksrc.pl
index 7a7e3a94c..4e04f3cf8 100755
--- a/lib/checksrc.pl
+++ b/lib/checksrc.pl
@@ -34,7 +34,7 @@ my $wlist;
my %whitelist;
sub readwhitelist {
- open(W, "<checksrc.whitelist");
+ open(W, "<$dir/checksrc.whitelist");
my @all=<W>;
for(@all) {
chomp;