summaryrefslogtreecommitdiff
path: root/examples/auto
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2013-03-11 16:23:23 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 14:50:07 +0200
commitfeaad91d90c1d3c78b616be6f9f282780e4ca4ce (patch)
treea5578d33c7186d72914e631d4799152e4bef2899 /examples/auto
parent94b1dd2b65264f5d162f2eb2871200c42d7abb73 (diff)
downloadvyos-live-build-feaad91d90c1d3c78b616be6f9f282780e4ca4ce.tar.gz
vyos-live-build-feaad91d90c1d3c78b616be6f9f282780e4ca4ce.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 \
"${@}"