diff options
Diffstat (limited to 'scripts/build')
-rwxr-xr-x | scripts/build/binary_hooks | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/build/binary_hooks b/scripts/build/binary_hooks index b40139797..ffedec12e 100755 --- a/scripts/build/binary_hooks +++ b/scripts/build/binary_hooks @@ -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 |