mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-27 18:13:08 +02:00
modbuild: abort build on error
errors in the build-steps have been ignored
This commit is contained in:
@@ -1063,7 +1063,10 @@ pbuild::make_all() {
|
||||
# might/need to be set.
|
||||
#
|
||||
cd "${dir}"
|
||||
typeset -F "$t" 2>/dev/null && "$t" || :
|
||||
if typeset -F "$t" 2>/dev/null; then
|
||||
"$t" || \
|
||||
std::die 10 "Aborting..."
|
||||
fi
|
||||
done
|
||||
touch "${BUILD_DIR}/.${target}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user