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 2f9b08d948
commit bdabc935df

View File

@ -1414,7 +1414,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
}