summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xenv.bash2
-rwxr-xr-xsbe/build/citest/check-copyright2
-rwxr-xr-xsbe/build/citest/copyright-check.sh2
-rwxr-xr-xsbe/build/tools/hooks/addCopyright.pl (renamed from tools/hookScripts/addCopyright.pl)2
-rwxr-xr-xsbe/build/tools/hooks/gerrit-hostname (renamed from tools/hookScripts/gerrit-hostname)2
-rwxr-xr-xsbe/build/tools/hooks/post-commit (renamed from tools/hookScripts/post-commit)2
-rwxr-xr-xsbe/build/tools/hooks/pre-commit (renamed from tools/hookScripts/pre-commit)2
-rwxr-xr-xsbe/build/tools/hooks/pre-commit-actions (renamed from tools/hookScripts/pre-commit-actions)2
-rwxr-xr-xsbe/build/tools/hooks/pre-commit-prologs (renamed from tools/hookScripts/pre-commit-prologs)2
-rwxr-xr-xsbe/build/tools/hooks/setupgithooks.sh (renamed from tools/hookScripts/setupgithooks.sh)2
-rwxr-xr-xsbe/build/tools/hooks/verify-commit (renamed from tools/hookScripts/verify-commit)2
11 files changed, 11 insertions, 11 deletions
diff --git a/env.bash b/env.bash
index 3b81eaee..19a34a12 100755
--- a/env.bash
+++ b/env.bash
@@ -42,7 +42,7 @@ export DEFAULT_MACHINE=nimbus
# The following ENV variables are required by the pre/post commit hooks
export PROJECT_NAME=sbe
-export TOOLSDIR=$SBEROOT/tools/hookScripts
+export TOOLSDIR=$SBEROOT/sbe/build/tools/hooks
export HOOKSDIR=$SBEROOT/.git/hooks
export IMPORT_REL_PATH=import
export IMPORT_DIR=$SBEROOT/$IMPORT_REL_PATH
diff --git a/sbe/build/citest/check-copyright b/sbe/build/citest/check-copyright
index 6d0323db..86224452 100755
--- a/sbe/build/citest/check-copyright
+++ b/sbe/build/citest/check-copyright
@@ -25,7 +25,7 @@
# IBM_PROLOG_END_TAG
COPYRIGHT_CHECK=${SBEROOT}/sbe/build/citest/copyright-check.sh
-COMMIT_CHECK=${SBEROOT}/tools/hookScripts/verify-commit
+COMMIT_CHECK=${SBEROOT}/sbe/build/tools/hooks/verify-commit
$COPYRIGHT_CHECK || exit -1
$COMMIT_CHECK || exit -1
diff --git a/sbe/build/citest/copyright-check.sh b/sbe/build/citest/copyright-check.sh
index eb7c75b6..6df7dd55 100755
--- a/sbe/build/citest/copyright-check.sh
+++ b/sbe/build/citest/copyright-check.sh
@@ -30,7 +30,7 @@
#
export WORKSPACE_DIR=`pwd`
-export ADDCOPYRIGHT=${WORKSPACE_DIR}/tools/hookScripts/addCopyright.pl
+export ADDCOPYRIGHT=${WORKSPACE_DIR}/sbe/build/tools/hooks/addCopyright.pl
## run git show to get a list of checked in files
CHECKINFILES=`git show --pretty=format: --name-only -n1 | tr '\n' ' '`
diff --git a/tools/hookScripts/addCopyright.pl b/sbe/build/tools/hooks/addCopyright.pl
index a8c87241..c72198d7 100755
--- a/tools/hookScripts/addCopyright.pl
+++ b/sbe/build/tools/hooks/addCopyright.pl
@@ -2,7 +2,7 @@
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
-# $Source: tools/hookScripts/verify-commit $
+# $Source: sbe/build/tools/addCopyright.pl $
#
# OpenPOWER sbe Project
#
diff --git a/tools/hookScripts/gerrit-hostname b/sbe/build/tools/hooks/gerrit-hostname
index 99423fed..5299a014 100755
--- a/tools/hookScripts/gerrit-hostname
+++ b/sbe/build/tools/hooks/gerrit-hostname
@@ -2,7 +2,7 @@
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
-# $Source: tools/hookScripts/gerrit-hostname $
+# $Source: sbe/build/tools/hooks/gerrit-hostname $
#
# OpenPOWER sbe Project
#
diff --git a/tools/hookScripts/post-commit b/sbe/build/tools/hooks/post-commit
index 0029c710..a993cd78 100755
--- a/tools/hookScripts/post-commit
+++ b/sbe/build/tools/hooks/post-commit
@@ -2,7 +2,7 @@
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
-# $Source: tools/hookScripts/post-commit $
+# $Source: sbe/build/tools/hooks/post-commit $
#
# OpenPOWER sbe Project
#
diff --git a/tools/hookScripts/pre-commit b/sbe/build/tools/hooks/pre-commit
index 86024086..324cd3c1 100755
--- a/tools/hookScripts/pre-commit
+++ b/sbe/build/tools/hooks/pre-commit
@@ -2,7 +2,7 @@
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
-# $Source: tools/hookScripts/pre-commit $
+# $Source: sbe/build/tools/hooks/pre-commit $
#
# OpenPOWER sbe Project
#
diff --git a/tools/hookScripts/pre-commit-actions b/sbe/build/tools/hooks/pre-commit-actions
index 244038d3..348b0d0b 100755
--- a/tools/hookScripts/pre-commit-actions
+++ b/sbe/build/tools/hooks/pre-commit-actions
@@ -2,7 +2,7 @@
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
-# $Source: tools/hookScripts/pre-commit-actions $
+# $Source: sbe/build/tools/hooks/pre-commit-actions $
#
# OpenPOWER sbe Project
#
diff --git a/tools/hookScripts/pre-commit-prologs b/sbe/build/tools/hooks/pre-commit-prologs
index 33830756..95ae1874 100755
--- a/tools/hookScripts/pre-commit-prologs
+++ b/sbe/build/tools/hooks/pre-commit-prologs
@@ -2,7 +2,7 @@
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
-# $Source: tools/hookScripts/pre-commit-prologs $
+# $Source: sbe/build/tools/hooks/pre-commit-prologs $
#
# OpenPOWER sbe Project
#
diff --git a/tools/hookScripts/setupgithooks.sh b/sbe/build/tools/hooks/setupgithooks.sh
index edc70cfa..b85300a9 100755
--- a/tools/hookScripts/setupgithooks.sh
+++ b/sbe/build/tools/hooks/setupgithooks.sh
@@ -2,7 +2,7 @@
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
-# $Source: tools/hookScripts/setupgithooks.sh $
+# $Source: sbe/build/tools/hooks/setupgithooks.sh $
#
# OpenPOWER sbe Project
#
diff --git a/tools/hookScripts/verify-commit b/sbe/build/tools/hooks/verify-commit
index 2e63f67d..c29ba9ac 100755
--- a/tools/hookScripts/verify-commit
+++ b/sbe/build/tools/hooks/verify-commit
@@ -2,7 +2,7 @@
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
-# $Source: tools/hookScripts/verify-commit $
+# $Source: sbe/build/tools/hooks/verify-commit $
#
# OpenPOWER sbe Project
#
OpenPOWER on IntegriCloud