build-package.sh: don't set TERMUX_PKG_REPLACES for debug builds

It was introduced in c18051e78118966e4a4d77cb1638d767822eca66. It didn't work as expected.
This commit is contained in:
Henrik Grimler 2018-06-13 20:22:13 +02:00
parent 71594b6ea5
commit bc98e1e72d

View File

@ -411,8 +411,6 @@ termux_step_start_build() {
echo "$TERMUX_PKG_NAME@$TERMUX_PKG_FULLVERSION built - skipping (rm /data/data/.built-packages/$TERMUX_PKG_NAME to force rebuild)"
exit 0
fi
else
export TERMUX_PKG_REPLACES=${TERMUX_PKG_NAME}
fi
# Cleanup old state: