summaryrefslogtreecommitdiffstats
path: root/src/build/tools/verify-commit
diff options
context:
space:
mode:
Diffstat (limited to 'src/build/tools/verify-commit')
-rwxr-xr-xsrc/build/tools/verify-commit4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/build/tools/verify-commit b/src/build/tools/verify-commit
index 65b589c4d..f4218293a 100755
--- a/src/build/tools/verify-commit
+++ b/src/build/tools/verify-commit
@@ -29,6 +29,8 @@ use strict;
my $issueFound = 0;
my $errorFound = 0;
+my $projectName = $ENV{'PROJECT_NAME'};
+
verifyPatchSet(); # Verify the patch contents.
verifyCommitMsg(); # Verify the commit message.
@@ -179,7 +181,7 @@ sub verifyFileLine
}
# Check for "Confidential".
- if ($line =~ m/Confidential/i)
+ if ($line =~ m/Confidential/i && $projectName =~ m/HostBoot/i)
{
unless (($file =~ m/verify-commit/) ||
($file =~ m/addCopyright.pl/))
OpenPOWER on IntegriCloud