From 877589e1539a2369127e0360dcea1589227f7344 Mon Sep 17 00:00:00 2001 From: Clinton Gormley Date: Thu, 3 Sep 2015 20:59:57 +0200 Subject: [PATCH] In the license checker, include the "ignore prefix" parameter in the output Closes #13322 --- .../src/main/resources/license-check/check_license_and_sha.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }