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:
parent
53adcbbf07
commit
49c9eabda4
@ -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_download_src_archive.sh
|
||||||
. "$TERMUX_SCRIPTDIR"/scripts/build/get_source/termux_unpack_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_NAME=$(basename "$p")
|
||||||
TERMUX_PKG_CACHEDIR="${p}/cache"
|
TERMUX_PKG_CACHEDIR="${p}/cache"
|
||||||
TERMUX_PKG_METAPACKAGE=false
|
TERMUX_PKG_METAPACKAGE=false
|
||||||
|
Loading…
Reference in New Issue
Block a user