summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2019-03-06 12:12:18 +0100
committerFabian Groffen <grobian@gentoo.org>2019-03-06 12:18:31 +0100
commit6e6d35586263206be18bd1a511d4067017f6299e (patch)
treea771b137dd685205fba45e9fe5707f5baf3eac07
parentscripts/bootstrap-prefix: allow usage of pre-set USE-flags (diff)
downloadprefix-6e6d35586263206be18bd1a511d4067017f6299e.tar.gz
prefix-6e6d35586263206be18bd1a511d4067017f6299e.tar.bz2
prefix-6e6d35586263206be18bd1a511d4067017f6299e.zip
dobootstrap: set GENTOO_MIRRORS only when actually requested
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
-rwxr-xr-xscripts/auto-bootstraps/dobootstrap3
1 files changed, 2 insertions, 1 deletions
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