diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-02-09 13:25:06 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-02-09 13:25:06 +0100 |
commit | 240f036655e7b1dda7ae576fe5541442afd6e11b (patch) | |
tree | 78ce456d0663cfbeae00554071ec98e21060faed /Makefile | |
parent | 57e4de4a7c6785dabd1f0e1641783b1df350f738 (diff) | |
download | vyos-build-240f036655e7b1dda7ae576fe5541442afd6e11b.tar.gz vyos-build-240f036655e7b1dda7ae576fe5541442afd6e11b.zip |
Makefile: user pipefail in iso build
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -27,12 +27,13 @@ prepare: .PHONY: iso .ONESHELL: iso: check_build_config clean prepare - @set -e @echo "It's not like I'm building this specially for you or anything!" cd $(build_dir) - lb build 2>&1 | tee build.log + set -o pipefail + lb build 2>&1 | tee build.log; if [ $$? -ne 0 ]; then exit 1; fi cd .. @scripts/copy-image + exit 0 .PHONY: prepare-package-env .ONESHELL: |