Correcting execution of local binary hooks.

This commit is contained in:
Daniel Baumann 2015-06-05 22:28:50 +02:00
parent 2fec43b68a
commit 3d422634df
1 changed files with 3 additions and 1 deletions

View File

@ -72,7 +72,9 @@ do
fi
# Executing hook
./"${HOOK}" || { Echo_error "${HOOK} failed (exit non-zero). You should check for errors."; exit 1 ;}
cd binary
../"${HOOK}" || { Echo_error "${HOOK} failed (exit non-zero). You should check for errors."; exit 1 ;}
cd "${OLDPWD}"
done
# Creating stage file