setup-offline-bundle.sh: don't extract sources by termux_step_get_source.sh

Override function termux_extract_src_archive() used by termux_step_get_source.sh.
This commit is contained in:
Leonid Pliushch 2020-10-23 00:45:01 +03:00
parent 53adcbbf07
commit 49c9eabda4

View File

@ -61,6 +61,11 @@ for p in "$TERMUX_SCRIPTDIR"/packages/*; do
. "$TERMUX_SCRIPTDIR"/scripts/build/get_source/termux_download_src_archive.sh
. "$TERMUX_SCRIPTDIR"/scripts/build/get_source/termux_unpack_src_archive.sh
# Disable archive extraction in termux_step_get_source.sh.
termux_extract_src_archive() {
:
}
TERMUX_PKG_NAME=$(basename "$p")
TERMUX_PKG_CACHEDIR="${p}/cache"
TERMUX_PKG_METAPACKAGE=false