diff options
author | Christian Breunig <christian@breunig.cc> | 2023-12-22 11:12:07 +0000 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-12-22 12:14:21 +0100 |
commit | 4d18b4410aa2bb20c18fa0c1f73acb3d0d24733c (patch) | |
tree | 28e5ecb08419e79d1a91b01b5ebbcb7a5f0955a7 /packages/linux-kernel | |
parent | a8d318e8191349b673013d7272032279ebd11582 (diff) | |
download | vyos-build-4d18b4410aa2bb20c18fa0c1f73acb3d0d24733c.tar.gz vyos-build-4d18b4410aa2bb20c18fa0c1f73acb3d0d24733c.zip |
Kernel: T4928: add "set -e" to kernel build script
(cherry picked from commit 4e3fded1daa95cd0119af736ab15c79de494816d)
Diffstat (limited to 'packages/linux-kernel')
-rwxr-xr-x | packages/linux-kernel/build-kernel.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/linux-kernel/build-kernel.sh b/packages/linux-kernel/build-kernel.sh index c6db1669..2c02f5c3 100755 --- a/packages/linux-kernel/build-kernel.sh +++ b/packages/linux-kernel/build-kernel.sh @@ -2,6 +2,8 @@ CWD=$(pwd) KERNEL_SRC=linux +set -e + if [ ! -d ${KERNEL_SRC} ]; then echo "Linux Kernel source directory does not exists, please 'git clone'" exit 1 |