summaryrefslogtreecommitdiffstats
path: root/src/build/tools/copyright-check.sh
diff options
context:
space:
mode:
authorStephen Cprek <smcprek@us.ibm.com>2015-11-23 09:26:26 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-11-23 13:28:58 -0600
commitd0cdf5913997f7f3b919b01cbd498b54732c20cd (patch)
tree9c26de107fef9a2dfd3c084ee1cc07785f5e8548 /src/build/tools/copyright-check.sh
parent02353bc77297c319cdb02b6f83473c4f533560b3 (diff)
downloadtalos-hostboot-d0cdf5913997f7f3b919b01cbd498b54732c20cd.tar.gz
talos-hostboot-d0cdf5913997f7f3b919b01cbd498b54732c20cd.zip
Fix how current author is verified in copyright check
Change-Id: I40b13e12c07577a5b1d79475f80a9727840fd1db Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22270 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/build/tools/copyright-check.sh')
-rwxr-xr-xsrc/build/tools/copyright-check.sh12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/build/tools/copyright-check.sh b/src/build/tools/copyright-check.sh
index bdfcb9f36..07445902d 100755
--- a/src/build/tools/copyright-check.sh
+++ b/src/build/tools/copyright-check.sh
@@ -6,7 +6,9 @@
#
# OpenPOWER HostBoot Project
#
-# COPYRIGHT International Business Machines Corp. 2011,2014
+# Contributors Listed Below - COPYRIGHT 2011,2015
+# [+] International Business Machines Corp.
+#
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -24,7 +26,7 @@
#
# Front end to addCopyright.pl - script to check for copyright block during
-# Gerrit checkin.
+# Gerrit checkin.
#
export WORKSPACE_DIR=`pwd`
@@ -44,12 +46,12 @@ echo "========================================================================"
echo " Checking Copyright blocks for checked-in files:"
echo " $CHECKINFILES"
echo
-$ADDCOPYRIGHT validate $CHECKINFILES
+$ADDCOPYRIGHT validate $CHECKINFILES --copyright-check
if [ $? -eq 0 ]; then
echo "Copyright Check passed OK, $?"
exit 0
-else
- echo "ERROR: $?"
+else
+ echo "ERROR: $?"
exit 1
fi
OpenPOWER on IntegriCloud