build-package: Fix so that debdiff's exit code doesn't stop build

This commit is contained in:
Henrik Grimler 2018-12-30 12:22:44 +01:00
parent aec765bc8f
commit 67e378f60d
1 changed files with 2 additions and 1 deletions

View File

@ -1401,7 +1401,8 @@ termux_step_reverse_depends() {
curl --fail -LO $TERMUX_REPO_URL/binary-${arch}/${deb_file} \
&& echo "Extracting ${TERMUX_PKG_NAME}..."
)
debdiff $TERMUX_DEBDIR/$deb_file $TERMUX_COMMON_CACHEDIR-$arch/$deb_file
# `|| true` to prevent debdiff's exit code from stopping build
debdiff $TERMUX_DEBDIR/$deb_file $TERMUX_COMMON_CACHEDIR-$arch/$deb_file || true
echo "DONE COMPARING PACKAGES"
fi
}