summaryrefslogtreecommitdiffstats
path: root/env.bash
diff options
context:
space:
mode:
authorMark Wenning <wenning@us.ibm.com>2012-04-24 18:13:30 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-05-30 10:31:12 -0500
commit7ac513554e1d891433baf401c9138d7a4791c767 (patch)
treebeeb6b1383208835fd4bba79a751556f32bb8c0a /env.bash
parent7b99c2041cfe126bb85325a3d18ca69d279f54ad (diff)
downloadtalos-hostboot-7ac513554e1d891433baf401c9138d7a4791c767.tar.gz
talos-hostboot-7ac513554e1d891433baf401c9138d7a4791c767.zip
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 <iawillia@us.ibm.com>
Diffstat (limited to 'env.bash')
-rwxr-xr-x[-rw-r--r--]env.bash12
1 files changed, 10 insertions, 2 deletions
diff --git a/env.bash b/env.bash
index 79f1fba81..d88a6c4b2 100644..100755
--- 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
OpenPOWER on IntegriCloud