Fix usage of removed $WORKSPACE variable in run-tests
This commit is contained in:
parent
62b4af4f19
commit
385832c1fd
@ -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
|
||||
|
||||
#------------------------------------------------------------------------------#
|
||||
|
Loading…
x
Reference in New Issue
Block a user