diff options
| author | Stephen Cprek <smcprek@us.ibm.com> | 2015-04-27 15:02:25 -0500 |
|---|---|---|
| committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2015-09-01 16:18:32 -0500 |
| commit | 4ae690e4eeb9297ed59ff932cc4184d23896234d (patch) | |
| tree | b3205f1b84aff7dbad3f949c78fe6e4c08067368 /src/build/tools/verify-commit | |
| parent | 0795cc6781a4d937786b39c23b655397432ec90e (diff) | |
| download | talos-hostboot-4ae690e4eeb9297ed59ff932cc4184d23896234d.tar.gz talos-hostboot-4ae690e4eeb9297ed59ff932cc4184d23896234d.zip | |
Generalize env vars, env setup, and copyright scripts
Methods ported over from code in EKB.
Change-Id: I26b6f2326314936b0316f64272230730ecd3f9ee
RTC: 126634
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17465
Tested-by: Jenkins Server
Tested-by: Jenkins OP Build CI
Tested-by: Jenkins OP HW
Tested-by: FSP CI Jenkins
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/build/tools/verify-commit')
| -rwxr-xr-x | src/build/tools/verify-commit | 4 |
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/)) |

