setup-offline-bundle.sh: ignore errors when sourcing build.sh

This commit is contained in:
Leonid Pliushch 2020-10-23 01:49:20 +03:00
parent 72c0601e5f
commit f1d0cbc055

View File

@ -86,7 +86,7 @@ for p in "$TERMUX_SCRIPTDIR"/packages/*; do
mkdir -p "$TERMUX_PKG_CACHEDIR" "$TERMUX_PKG_TMPDIR" "$TERMUX_PKG_SRCDIR"
cd "$TERMUX_PKG_CACHEDIR"
. "${p}"/build.sh
. "${p}"/build.sh || true
if ! ${TERMUX_PKG_METAPACKAGE}; then
echo "Downloading sources for '$TERMUX_PKG_NAME'..."
termux_step_get_source