From 7ac513554e1d891433baf401c9138d7a4791c767 Mon Sep 17 00:00:00 2001 From: Mark Wenning Date: Tue, 24 Apr 2012 18:13:30 -0500 Subject: Fix Copyright block script Task 37468, fixes defect 36864 - The prolog tags in hostboot are: IBM_PROLOG_BEGIN_TAG IBM_PROLOG_END If these are supposed to be consistent with the FSP prolog tags, "_TAG" is missing from the end tag. - Need to update old Copyright strings to end in "2012" (i.e. latest year) - Need a way to push new addCopyright.pl script to users - Check filename and compare with $Source: string, if filenames don't match, fix. - Need to add copyright dates from existing copyright blocks (i.e. FSP files.) - Fixes to comments RTC: 36864 Change-Id: I4842da42d3ba9abd454f19d1f25e5a8014c7addc Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/937 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III --- env.bash | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) mode change 100644 => 100755 env.bash (limited to 'env.bash') diff --git a/env.bash b/env.bash old mode 100644 new mode 100755 index 79f1fba81..d88a6c4b2 --- a/env.bash +++ b/env.bash @@ -5,7 +5,7 @@ # # IBM CONFIDENTIAL # -# COPYRIGHT International Business Machines Corp. 2010 - 2011 +# COPYRIGHT International Business Machines Corp. 2010-2012 # # p1 # @@ -19,7 +19,9 @@ # # Origin: 30 # -# IBM_PROLOG_END +# IBM_PROLOG_END_TAG +ROOTDIR=. + export MCP_PATH=/opt/mcp/shared/powerhal if [ -e /esw/fakeroot/ ]; then @@ -33,6 +35,7 @@ export PATH=${PATH}:`pwd`/src/build/trace export PATH=${PATH}:`pwd`/src/build/tools export HOSTBOOTROOT=`pwd` +TOOLSDIR=$HOSTBOOTROOT/src/build/tools if [ -e ./customrc ]; then source ./customrc @@ -45,3 +48,8 @@ if [ -n "${SANDBOXROOT}" ]; then fi export DEFAULT_MACHINE=MURANO + +## run setupgithooks.pl +if [ -e $TOOLSDIR/setupgithooks.sh ]; then + $TOOLSDIR/setupgithooks.sh +fi -- cgit v1.2.3