summaryrefslogtreecommitdiff
path: root/examples/auto
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2013-04-09 05:54:27 +0200
committerDaniel Baumann <daniel@debian.org>2013-04-09 05:54:27 +0200
commitb37b97b5b61e54d1a376da96004fcf16d2072207 (patch)
tree3cee8847dc894c2a71ca867f19dd1393683c6a33 /examples/auto
parentbcc87559f837e934390b9c7bf998371ad24c7acc (diff)
downloadvyos-live-build-b37b97b5b61e54d1a376da96004fcf16d2072207.tar.gz
vyos-live-build-b37b97b5b61e54d1a376da96004fcf16d2072207.zip
Adding set -e in example auto scripts.
Diffstat (limited to 'examples/auto')
-rwxr-xr-xexamples/auto/build2
-rwxr-xr-xexamples/auto/clean2
-rwxr-xr-xexamples/auto/config2
3 files changed, 6 insertions, 0 deletions
diff --git a/examples/auto/build b/examples/auto/build
index 6d559e8cf..f8d834623 100755
--- a/examples/auto/build
+++ b/examples/auto/build
@@ -1,3 +1,5 @@
#!/bin/sh
+set -e
+
lb build noauto "${@}" 2>&1 | tee build.log
diff --git a/examples/auto/clean b/examples/auto/clean
index 3e2403257..69874ee68 100755
--- a/examples/auto/clean
+++ b/examples/auto/clean
@@ -1,5 +1,7 @@
#!/bin/sh
+set -e
+
lb clean noauto "${@}"
rm -f config/binary config/bootstrap config/chroot config/common config/source
diff --git a/examples/auto/config b/examples/auto/config
index f64db292d..c6d68c649 100755
--- a/examples/auto/config
+++ b/examples/auto/config
@@ -1,4 +1,6 @@
#!/bin/sh
+set -e
+
lb config noauto \
"${@}"