]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
checksrc: Fix whitelist on out-of-tree builds
authorDan Fandrich <dan@coneharvesters.com>
Tue, 17 Mar 2015 22:26:48 +0000 (23:26 +0100)
committerDan Fandrich <dan@coneharvesters.com>
Tue, 17 Mar 2015 22:26:48 +0000 (23:26 +0100)
lib/checksrc.pl

index 7a7e3a94c0f187e94756dbdfbf511a4ad8819cb7..4e04f3cf814add620a73133b21dd06dc94467c4d 100755 (executable)
@@ -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;