summaryrefslogtreecommitdiffstats
path: root/config/binary_local-hooks
diff options
context:
space:
mode:
authorTails developers <amnesia@boum.org>2012-09-23 12:20:06 +0200
committerTails developers <amnesia@boum.org>2012-09-23 16:13:19 +0200
commitfc1f7d6b139feab4599a89a340282a3142f317da (patch)
tree3963283a1be34ddbdacec471b7fd453b5fea904c /config/binary_local-hooks
parent44ace6760a0ec3085f1d8101c8de8450d8a35e61 (diff)
Catch more errors in local hooks
Ensure that all local hooks start with 'set -e'. This should prevent errors to slip through the build process.
Diffstat (limited to 'config/binary_local-hooks')
-rwxr-xr-xconfig/binary_local-hooks/10-syslinux_customize2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/binary_local-hooks/10-syslinux_customize b/config/binary_local-hooks/10-syslinux_customize
index 6ea2628..936c30f 100755
--- a/config/binary_local-hooks/10-syslinux_customize
+++ b/config/binary_local-hooks/10-syslinux_customize
@@ -1,5 +1,7 @@
#!/bin/bash
+set -e
+
# Including common functions
. "${LB_BASE:-/usr/share/live/build}"/scripts/build.sh