mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-16 18:04:52 +00:00
In the license checker, include the "ignore prefix" parameter in the output
Closes #13322
This commit is contained in:
parent
da554fc30c
commit
877589e153
@ -19,7 +19,7 @@ die usage() unless $mode =~ /^--(check|update)$/;
|
|||||||
|
|
||||||
my $License_Dir = shift(@ARGV) || die usage();
|
my $License_Dir = shift(@ARGV) || die usage();
|
||||||
my $Source = shift(@ARGV) || die usage();
|
my $Source = shift(@ARGV) || die usage();
|
||||||
my $Ignore = shift(@ARGV);
|
my $Ignore = shift(@ARGV) || '';
|
||||||
my $ignore
|
my $ignore
|
||||||
= $Ignore
|
= $Ignore
|
||||||
? qr/${Ignore}[^\/]*$/
|
? qr/${Ignore}[^\/]*$/
|
||||||
@ -129,7 +129,7 @@ sub check_shas_and_licenses {
|
|||||||
|
|
||||||
You can update the SHA files by running:
|
You can update the SHA files by running:
|
||||||
|
|
||||||
$0 --update $License_Dir $Source
|
$0 --update $License_Dir $Source $Ignore
|
||||||
|
|
||||||
SHAS
|
SHAS
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user