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 $Source = shift(@ARGV) || die usage();
|
||||
my $Ignore = shift(@ARGV);
|
||||
my $Ignore = shift(@ARGV) || '';
|
||||
my $ignore
|
||||
= $Ignore
|
||||
? qr/${Ignore}[^\/]*$/
|
||||
|
@ -129,7 +129,7 @@ sub check_shas_and_licenses {
|
|||
|
||||
You can update the SHA files by running:
|
||||
|
||||
$0 --update $License_Dir $Source
|
||||
$0 --update $License_Dir $Source $Ignore
|
||||
|
||||
SHAS
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue