Fix logging on emerge-webrsync
This commit is contained in:
parent
0dd50892c3
commit
55d721e5b6
@ -228,8 +228,8 @@ build-gentoo-chroot() {
|
||||
log "Building Gentoo from within chroot"
|
||||
|
||||
# Sync repositories
|
||||
log "Getting ebuild repositories"
|
||||
if ! grep /etc/portage/repos.conf/gentoo.conf -ie 'git'; then
|
||||
if ! grep /etc/portage/repos.conf/gentoo.conf -ie 'git' > /dev/null 2>&1; then
|
||||
log "Getting ebuild repositories"
|
||||
# Only do this rsync if we're actually rsyncing
|
||||
# As part of installation, we switch to git, so this prevents us from hammering upstream, too
|
||||
emerge-webrsync
|
||||
|
Loading…
Reference in New Issue
Block a user