mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-18 21:28:02 +00:00
scripts: fix checkpatch.pl for changed license dir
As multiple LICENSES are shipped and no longer just LICENSE, modify the OpenWrt tree detection in checkpatch.pl. Signed-off-by: Paul Spooren <mail@aparcar.org>
This commit is contained in:
parent
882e301461
commit
6d5425976f
@ -1113,7 +1113,7 @@ sub top_of_openwrt_tree {
|
|||||||
my ($root) = @_;
|
my ($root) = @_;
|
||||||
|
|
||||||
my @tree_check = (
|
my @tree_check = (
|
||||||
"BSDmakefile", "Config.in", "LICENSE", "Makefile", "README.md",
|
"BSDmakefile", "Config.in", "LICENSES", "Makefile", "README.md",
|
||||||
"feeds.conf.default", "include", "package", "rules.mk",
|
"feeds.conf.default", "include", "package", "rules.mk",
|
||||||
"scripts", "target", "toolchain", "tools"
|
"scripts", "target", "toolchain", "tools"
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user