summaryrefslogtreecommitdiffstats
path: root/src/build/tools/pre-commit
diff options
context:
space:
mode:
authorZane Shelley <zshelle@us.ibm.com>2014-03-25 16:18:49 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-04-10 15:57:20 -0500
commit8031426efe467232b8338b839c1862bd84932c00 (patch)
treed737089d4ab35e36778d6548f1e4de43097a6b92 /src/build/tools/pre-commit
parentcab2e5a1ddcb47adf1d1ccc18f85f240f784afbd (diff)
downloadtalos-hostboot-8031426efe467232b8338b839c1862bd84932c00.tar.gz
talos-hostboot-8031426efe467232b8338b839c1862bd84932c00.zip
Fixed some issues with pre/post commit scripts
Change-Id: I9da6959c32fcc967ef86348b7d4a93b1c2bf86f3 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/9877 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/build/tools/pre-commit')
-rwxr-xr-xsrc/build/tools/pre-commit6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/build/tools/pre-commit b/src/build/tools/pre-commit
index 30bb89136..771077857 100755
--- a/src/build/tools/pre-commit
+++ b/src/build/tools/pre-commit
@@ -6,7 +6,7 @@
#
# IBM CONFIDENTIAL
#
-# COPYRIGHT International Business Machines Corp. 2011,2013
+# COPYRIGHT International Business Machines Corp. 2011,2014
#
# p1
#
@@ -24,4 +24,6 @@
. git-sh-setup
export GIT_DIR=$GIT_DIR
-$GIT_DIR/hooks/pre-commit-prologs
+export TOOLS_DIR=$GIT_DIR/../src/build/tools
+
+$TOOLS_DIR/pre-commit-prologs
OpenPOWER on IntegriCloud