[bin] bump_kernel_mod_package: exit on error
This commit is contained in:
parent
f112e078af
commit
9da16d890e
@ -9,9 +9,9 @@ if [ "${#}" -lt 1 ]; then
|
||||
fi
|
||||
|
||||
# build for latest kernel
|
||||
KERNEL_DIR="/usr/src/linux-${running_kernel}" emerge "${@}"
|
||||
KERNEL_DIR="/usr/src/linux-${running_kernel}" emerge "${@}" || exit 1
|
||||
echo -5 | etc-update
|
||||
eit commit
|
||||
eit commit || exit 1
|
||||
|
||||
for kernel in $kernels; do
|
||||
if [ "${kernel}" = "${running_kernel}" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user