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

View File

@ -1401,7 +1401,8 @@ termux_step_reverse_depends() {
curl --fail -LO $TERMUX_REPO_URL/binary-${arch}/${deb_file} \ curl --fail -LO $TERMUX_REPO_URL/binary-${arch}/${deb_file} \
&& echo "Extracting ${TERMUX_PKG_NAME}..." && 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" echo "DONE COMPARING PACKAGES"
fi fi
} }