aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2009-11-22 22:50:15 -0500
committerMike Frysinger <vapier@gentoo.org>2009-11-22 22:52:11 -0500
commitfa4fdf9a104f01c3e56395bac61d5e9a46ccf854 (patch)
treeb425859013a7788872694f03647d311c519546b4 /wrappers/emerge-wrapper
parentemerge-wrapper: some updates (diff)
downloadcrossdev-fa4fdf9a104f01c3e56395bac61d5e9a46ccf854.tar.gz
crossdev-fa4fdf9a104f01c3e56395bac61d5e9a46ccf854.tar.bz2
crossdev-fa4fdf9a104f01c3e56395bac61d5e9a46ccf854.zip
emerge-wrapper: add GENTOO_MIRRORS automatically
This helps firewall users out. Signed-off-by: Ned Ludd <solar@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'wrappers/emerge-wrapper')
-rwxr-xr-xwrappers/emerge-wrapper1
1 files changed, 1 insertions, 0 deletions
diff --git a/wrappers/emerge-wrapper b/wrappers/emerge-wrapper
index 1e3c4f8..ed166f5 100755
--- a/wrappers/emerge-wrapper
+++ b/wrappers/emerge-wrapper
@@ -40,6 +40,7 @@ cross_wrap_etc() {
[[ ${portdir} != "" ]] && echo PORTDIR=\"${portdir}\" >> ${conf}
[[ ${distdir} != "" ]] && echo DISTDIR=\"${distdir}\" >> ${conf}
[[ ${overlay} != "" ]] && echo PORTDIR_OVERLAY=\"${overlay}\" >> ${conf}
+ [[ -e /etc/make.conf ]] && grep ^GENTOO_MIRRORS= /etc/make.conf >> ${conf}
}
cross_init() {