diff options
author | Stephen Cprek <smcprek@us.ibm.com> | 2016-03-24 14:12:39 -0500 |
---|---|---|
committer | William G. Hoffa <wghoffa@us.ibm.com> | 2016-08-05 10:44:47 -0400 |
commit | 36b757e4ce2bac2107c6776ca4c4f529a5fa1b83 (patch) | |
tree | 9f8fa87b778259f4c306022d574f9848d7b84cf3 /src/build/tools/pre-commit | |
parent | 51dd9c2385c56836385acbc0d95258682b7d01d3 (diff) | |
download | talos-hostboot-36b757e4ce2bac2107c6776ca4c4f529a5fa1b83.tar.gz talos-hostboot-36b757e4ce2bac2107c6776ca4c4f529a5fa1b83.zip |
Enable the import tree to have hostboot prologs
Also removed suffix from addCopyright script
Change-Id: I83f633ee8a9e91eccf817756e8f4f19a6c89da27
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22460
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/build/tools/pre-commit')
-rwxr-xr-x | src/build/tools/pre-commit | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/src/build/tools/pre-commit b/src/build/tools/pre-commit index 8d6e3006a..121f286c8 100755 --- a/src/build/tools/pre-commit +++ b/src/build/tools/pre-commit @@ -6,7 +6,7 @@ # # OpenPOWER HostBoot Project # -# Contributors Listed Below - COPYRIGHT 2011,2015 +# Contributors Listed Below - COPYRIGHT 2011,2016 # [+] International Business Machines Corp. # # @@ -23,14 +23,13 @@ # permissions and limitations under the License. # # IBM_PROLOG_END_TAG -if [ -z $MIRROR ]; then - if [ -f $TOOLSDIR/pre-commit-actions ]; then - $TOOLSDIR/pre-commit-actions - # Legacy support for older releases - elif [ -f $TOOLSDIR/pre-commit-prologs ]; then - $TOOLSDIR/pre-commit-prologs - else - echo "Missing pre-commit files" - exit -1 - fi + +if [ -f $TOOLSDIR/pre-commit-actions ]; then + $TOOLSDIR/pre-commit-actions +# Legacy support for older releases +elif [ -f $TOOLSDIR/pre-commit-prologs ]; then + $TOOLSDIR/pre-commit-prologs +else + echo "Missing pre-commit files" + exit -1 fi |