diff --git a/dev-tools/src/main/resources/license-check/check_license_and_sha.pl b/dev-tools/src/main/resources/license-check/check_license_and_sha.pl index 4d9d5ba06b8..c6b0f04b6db 100755 --- a/dev-tools/src/main/resources/license-check/check_license_and_sha.pl +++ b/dev-tools/src/main/resources/license-check/check_license_and_sha.pl @@ -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 }