diff options
author | Zhang Bingwu <xtexchooser@duck.com> | 2024-07-14 10:57:50 +0200 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-07-20 06:34:54 +0200 |
commit | af7925d82096d30bf971d41a109bd42f6a027ec2 (patch) | |
tree | 724867071aa4defc8908ddb48e202d19469751bd /arch/parisc | |
parent | kconfig: remove 'e1' and 'e2' macros from expression deduplication (diff) | |
download | linux-af7925d82096d30bf971d41a109bd42f6a027ec2.tar.xz linux-af7925d82096d30bf971d41a109bd42f6a027ec2.zip |
kbuild: Abort make on install failures
Setting '-e' flag tells shells to exit with error exit code immediately
after any of commands fails, and causes make(1) to regard recipes as
failed.
Before this, make will still continue to succeed even after the
installation failed, for example, for insufficient permission or
directory does not exist.
Signed-off-by: Zhang Bingwu <xtexchooser@duck.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'arch/parisc')
-rwxr-xr-x | arch/parisc/install.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/parisc/install.sh b/arch/parisc/install.sh index 933d031c249a..664c2d77f776 100755 --- a/arch/parisc/install.sh +++ b/arch/parisc/install.sh @@ -16,6 +16,8 @@ # $3 - kernel map file # $4 - default install path (blank if root directory) +set -e + if [ "$(basename $2)" = "vmlinuz" ]; then # Compressed install echo "Installing compressed kernel" |