summaryrefslogtreecommitdiffhomepage
path: root/build.sh
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2021-01-22 14:19:49 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2021-01-22 14:19:49 +0000
commit1bd15efef1dfe0fff29a448fb719b5dfc2a0e861 (patch)
tree4b1206faf2a08858dd1a5fd993e4425a825aa871 /build.sh
parent15563993a0b8ebfcf663a8a99566ee0d6e6091a2 (diff)
downloadmidipix_build-1bd15efef1dfe0fff29a448fb719b5dfc2a0e861.tar.bz2
midipix_build-1bd15efef1dfe0fff29a448fb719b5dfc2a0e861.tar.xz
Implements ${{DEFAULT,PKG,...}_MIRRORS}.
build.sh:build(): define and zero-initialise ${DEFAULT_MIRRORS}. etc/README.md: updated. midipix.env: adds ${DEFAULT_MIRRORS} (https://midipix.org/mirror/ https://midipix.lucioillanes.de/archives/). subr.rtl/rtl_fetch.subr:rtl_fetch_url_wget(): receive and operate on target name and optional list of mirrors. subr/pkg_fetch_download.subr: additionally pass ${PKG_NAME} and ${PKG_MIRRORS} to rtl_fetch_url_wget().
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index c089ad65..5797ccd7 100755
--- a/build.sh
+++ b/build.sh
@@ -117,7 +117,7 @@ build() {
BUILD_NFAIL=0 BUILD_NFINI=0 BUILD_NSKIP=0 BUILD_PKGS_FAILED="" BUILD_TARGET="" BUILD_USER="" \
DEFAULT_BUILD_CPUS=1 DEFAULT_BUILD_LAST_FAILED_PKG_FNAME="" DEFAULT_BUILD_LOG_FNAME="" \
DEFAULT_BUILD_STEPS="" DEFAULT_BUILD_VARS="" DEFAULT_CLEAR_PREFIX_PATHS="" DEFAULT_GIT_ARGS="" \
- DEFAULT_GITROOT_HEAD DEFAULT_LOG_ENV_VARS="" DEFAULT_TARGET="" DEFAULT_WGET_ARGS="" \
+ DEFAULT_GITROOT_HEAD DEFAULT_LOG_ENV_VARS="" DEFAULT_MIRRORS="" DEFAULT_TARGET="" DEFAULT_WGET_ARGS="" \
MIDIPIX_BUILD_PWD=""; DEFAULT_BUILD_STATUS_IN_PROGRESS_FNAME=""; EX_PKG_DISPATCH_WAIT="";
if ! . "${0%/*}/subr/build_init.subr"; then
_rc=1; printf "Error: failed to source \`${0%/*}/subr/build_init.subr'." >&2;