In the license checker, include the "ignore prefix" parameter in the output

Closes #13322
This commit is contained in:
Clinton Gormley 2015-09-03 20:59:57 +02:00
parent da554fc30c
commit 877589e153
1 changed files with 2 additions and 2 deletions

View File

@ -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
}