Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/prefix:master commit in: scripts/auto-bootstraps/
Date: Wed, 06 Mar 2019 11:18:45
Message-Id: 1551871111.6e6d35586263206be18bd1a511d4067017f6299e.grobian@gentoo
1 commit: 6e6d35586263206be18bd1a511d4067017f6299e
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 6 11:12:18 2019 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 6 11:18:31 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=6e6d3558
7
8 dobootstrap: set GENTOO_MIRRORS only when actually requested
9
10 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
11
12 scripts/auto-bootstraps/dobootstrap | 3 ++-
13 1 file changed, 2 insertions(+), 1 deletion(-)
14
15 diff --git a/scripts/auto-bootstraps/dobootstrap b/scripts/auto-bootstraps/dobootstrap
16 index 35b693ddd4..1d2cfa6296 100755
17 --- a/scripts/auto-bootstraps/dobootstrap
18 +++ b/scripts/auto-bootstraps/dobootstrap
19 @@ -116,8 +116,8 @@ do_prepare() {
20 TERM=${TERM} \
21 USER=${USER} \
22 CHOST=${chost} \
23 - GENTOO_MIRRORS="http://distfileslocal/" \
24 EPREFIX=${EPREFIX} \
25 + ${GENTOO_MIRRORS+GENTOO_MIRRORS=}${GENTOO_MIRRORS} \
26 ${DOLOCAL+DOLOCAL=1} \
27 ${DOLIBRESSL+MAKE_CONF_ADDITIONAL_USE=libressl} \
28 ${RESUME+RESUME=1} \
29 @@ -170,6 +170,7 @@ case $1 in
30 echo "internal host, activating local and DOPUBLISH"
31 export DOLOCAL=1
32 export DOPUBLISH=1
33 + export GENTOO_MIRRORS="http://distfileslocal/"
34 fi
35 for arg in "${@:2}" ; do
36 case "${arg}" in