build-package.sh: Always rebuild the package if debug build
This commit is contained in:
parent
c6c2957062
commit
9b741f4945
@ -574,7 +574,7 @@ if [ "$TERMUX_PKG_BUILD_REVISION" != "0" -o "$TERMUX_PKG_FULLVERSION" != "${TERM
|
||||
TERMUX_PKG_FULLVERSION+="-$TERMUX_PKG_BUILD_REVISION"
|
||||
fi
|
||||
|
||||
if [ -e "/data/data/.built-packages/$TERMUX_PKG_NAME" ]; then
|
||||
if [ -z "$TERMUX_DEBUG" -a -e "/data/data/.built-packages/$TERMUX_PKG_NAME" ]; then
|
||||
if [ "`cat /data/data/.built-packages/$TERMUX_PKG_NAME`" = "$TERMUX_PKG_FULLVERSION" ]; then
|
||||
echo "$TERMUX_PKG_NAME@$TERMUX_PKG_FULLVERSION built - skipping (rm /data/data/.built-packages/$TERMUX_PKG_NAME to force rebuild)"
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user