commit: 6e6d35586263206be18bd1a511d4067017f6299e Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> AuthorDate: Wed Mar 6 11:12:18 2019 +0000 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> CommitDate: Wed Mar 6 11:18:31 2019 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=6e6d3558
dobootstrap: set GENTOO_MIRRORS only when actually requested Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> scripts/auto-bootstraps/dobootstrap | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/auto-bootstraps/dobootstrap b/scripts/auto-bootstraps/dobootstrap index 35b693ddd4..1d2cfa6296 100755 --- a/scripts/auto-bootstraps/dobootstrap +++ b/scripts/auto-bootstraps/dobootstrap @@ -116,8 +116,8 @@ do_prepare() { TERM=${TERM} \ USER=${USER} \ CHOST=${chost} \ - GENTOO_MIRRORS="http://distfileslocal/" \ EPREFIX=${EPREFIX} \ + ${GENTOO_MIRRORS+GENTOO_MIRRORS=}${GENTOO_MIRRORS} \ ${DOLOCAL+DOLOCAL=1} \ ${DOLIBRESSL+MAKE_CONF_ADDITIONAL_USE=libressl} \ ${RESUME+RESUME=1} \ @@ -170,6 +170,7 @@ case $1 in echo "internal host, activating local and DOPUBLISH" export DOLOCAL=1 export DOPUBLISH=1 + export GENTOO_MIRRORS="http://distfileslocal/" fi for arg in "${@:2}" ; do case "${arg}" in