pre-commit-hook, pre-recieve-hook: Corrected HookFunctions source path

This commit is contained in:
Will Bainbridge
2020-03-31 09:09:10 +01:00
parent 14e7dbdd76
commit a3c8fc80e6
2 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
# ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration | Website: https://openfoam.org
# \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
# \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
# \\/ M anipulation |
#------------------------------------------------------------------------------
# License
@ -48,7 +48,7 @@
#
#------------------------------------------------------------------------------
. ./bin/tools/HookFunctions || exit 1
. $(git rev-parse --git-dir)/../bin/tools/HookFunctions || exit 1
# Get the commit to test against, or git's "empty" object if there is no head
if git rev-parse --verify HEAD > /dev/null 2>&1

View File

@ -3,7 +3,7 @@
# ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration | Website: https://openfoam.org
# \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
# \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
# \\/ M anipulation |
#------------------------------------------------------------------------------
# License
@ -45,7 +45,7 @@
#
#------------------------------------------------------------------------------
. bin/tools/HookFunctions || exit 1
. $(git rev-parse --git-dir)/../bin/tools/HookFunctions || exit 1
while read -r oldSHA1 newSHA1 refName
do