Fix unexpected stop when build, add delimiter in log
- Fix stop the whole build when error occurred in a single package build - Add delimiter in build_all script log,
This commit is contained in:
parent
e18a7af760
commit
9486cad563
|
@ -58,6 +58,7 @@ set -o nounset
|
||||||
set -o errexit
|
set -o errexit
|
||||||
set -o errtrace
|
set -o errtrace
|
||||||
|
|
||||||
|
_DELIMITER="================================================================"
|
||||||
_PROGRAM_NAME="$0"
|
_PROGRAM_NAME="$0"
|
||||||
_PACKGES_TO_BUILD=()
|
_PACKGES_TO_BUILD=()
|
||||||
MAKEDEB_PATH=""
|
MAKEDEB_PATH=""
|
||||||
|
@ -115,6 +116,7 @@ fi
|
||||||
|
|
||||||
for package in "${_PACKGES_TO_BUILD[@]}" ; do
|
for package in "${_PACKGES_TO_BUILD[@]}" ; do
|
||||||
(
|
(
|
||||||
|
msg_info "$_DELIMITER"
|
||||||
msg_info "Start for $package"
|
msg_info "Start for $package"
|
||||||
cd "$package"
|
cd "$package"
|
||||||
|
|
||||||
|
@ -146,7 +148,7 @@ for package in "${_PACKGES_TO_BUILD[@]}" ; do
|
||||||
msg_info "Uploading $package_name to $UPLOAD_TO_WEBDAV"
|
msg_info "Uploading $package_name to $UPLOAD_TO_WEBDAV"
|
||||||
upload_to_webdav "$package_name" "$UPLOAD_TO_WEBDAV" "$WEBDAV_USER" "$WEBDAV_PASS"
|
upload_to_webdav "$package_name" "$UPLOAD_TO_WEBDAV" "$WEBDAV_USER" "$WEBDAV_PASS"
|
||||||
fi
|
fi
|
||||||
)
|
) || true
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue