diff options
author | Daniel Baumann <daniel@debian.org> | 2009-09-02 20:50:17 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:09:46 +0100 |
commit | 74a7af6571930eb0a89cdd7140a6663a3ff60645 (patch) | |
tree | 4be601a9ec24fd988b15cad714f45dbea14f903b /helpers/lh_chroot_local-hooks | |
parent | e9c580b6ae3fa4b7c740d9eaa4b00b89bbbcf01a (diff) | |
download | live-build-74a7af6571930eb0a89cdd7140a6663a3ff60645.zip live-build-74a7af6571930eb0a89cdd7140a6663a3ff60645.tar.gz |
Adding a message about which hook made a build fail, if any.
Diffstat (limited to 'helpers/lh_chroot_local-hooks')
-rwxr-xr-x | helpers/lh_chroot_local-hooks | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_chroot_local-hooks b/helpers/lh_chroot_local-hooks index f5fcceb..878becb 100755 --- a/helpers/lh_chroot_local-hooks +++ b/helpers/lh_chroot_local-hooks @@ -52,7 +52,7 @@ then fi # Executing hook - Chroot chroot "/root/$(basename ${HOOK})" + Chroot chroot "/root/$(basename ${HOOK})" || ( Echo_error "${HOOK} failed (exit non-zero). You should check for errors."; exit 1 ) # Removing hook rm -f chroot/root/"$(basename ${HOOK})" |