From 50e7d6a238157bc8af55e2a34536f8b24d1ac411 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Bl=C3=A4se?= Date: Wed, 9 Jun 2021 00:17:01 +0200 Subject: [PATCH] buildscript: exit on errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Exit on errors, to make unsuccessful runs more obvious. Signed-off-by: Fabian Bläse Tested-by: Fabian Bläse --- buildscript | 3 +++ 1 file changed, 3 insertions(+) diff --git a/buildscript b/buildscript index f39897aa..da096193 100755 --- a/buildscript +++ b/buildscript @@ -1,6 +1,9 @@ #!/bin/bash # SPDX-License-Identifier: GPL-3.0-or-later +set -e +set -o pipefail + builddir=./build # OpenWrt: package hashes correspond to core repo version