Correcting execution of local source hooks.

This commit is contained in:
Daniel Baumann 2015-06-05 22:29:47 +02:00
parent 3d422634df
commit 64a82a486c
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 source
../"${HOOK}" || { Echo_error "${HOOK} failed (exit non-zero). You should check for errors."; exit 1 ;}
cd "${OLDPWD}"
done
# Creating stage file