pre-commit-hook, pre-recieve-hook: Corrected HookFunctions source path
This commit is contained in:
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user