Browse Source

build-package.sh: fix problem when built packages are not being checked

emacs-27
Leonid Plyushch 5 years ago
parent
commit
bf38df58b8
No known key found for this signature in database GPG Key ID: 45F2964132545795
  1. 2
      scripts/build/termux_step_start_build.sh

2
scripts/build/termux_step_start_build.sh

@ -29,7 +29,7 @@ termux_step_start_build() {
DEBUG=""
fi
if [ "$TERMUX_DEBUG" = "true" ] && [ "$TERMUX_FORCE_BUILD" = "true" ]; then
if [ "$TERMUX_DEBUG" = "false" ] && [ "$TERMUX_FORCE_BUILD" = "false" ]; then
if [ -e "$TERMUX_BUILT_PACKAGES_DIRECTORY/$TERMUX_PKG_NAME" ] &&
[ "$(cat "$TERMUX_BUILT_PACKAGES_DIRECTORY/$TERMUX_PKG_NAME")" = "$TERMUX_PKG_FULLVERSION" ]; then
echo "$TERMUX_PKG_NAME@$TERMUX_PKG_FULLVERSION built - skipping (rm $TERMUX_BUILT_PACKAGES_DIRECTORY/$TERMUX_PKG_NAME to force rebuild)"

Loading…
Cancel
Save