Browse Source

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

android-5
Henrik Grimler 6 years ago
parent
commit
3e60a99eec
  1. 3
      build-package.sh

3
build-package.sh

@ -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
}

Loading…
Cancel
Save