Fix usage of removed $WORKSPACE variable in run-tests

This commit is contained in:
mindston 2024-12-25 17:50:49 +01:00 committed by Hans-Christoph Steiner
parent 62b4af4f19
commit 385832c1fd

View File

@ -8,8 +8,8 @@ echo_header() {
#------------------------------------------------------------------------------#
if [ -d tests ]; then
cd tests
if [ ! -d tests ]; then
cd ..
fi
set -x # show each command as it is executed
@ -17,7 +17,6 @@ set -x # show each command as it is executed
#------------------------------------------------------------------------------#
echo_header "run commit hooks"
cd $WORKSPACE
test -x ./hooks/pre-commit && ./hooks/pre-commit
#------------------------------------------------------------------------------#