From d144418d8c50b1de2d089351c1c87848a78c652e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 28 Jan 2013 15:57:52 -0500 Subject: [PATCH] fix logging when using direct rsync --- .bin/gentoo-sync | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.bin/gentoo-sync b/.bin/gentoo-sync index 59f923c..cbe144a 100755 --- a/.bin/gentoo-sync +++ b/.bin/gentoo-sync @@ -27,10 +27,11 @@ if ${GS_RSYNC} ; then [[ -e ${f} ]] && . ${f} && break done done + > "${up_log}" : ${PORTAGE_RSYNC_OPTS:=-azO --delete --exclude=/distfiles --exclude=/local --exclude=/packages} : ${SYNC:=rsync://rsync.gentoo.org/gentoo-portage} : ${PORTDIR:=/usr/portage} - exec rsync ${PORTAGE_RSYNC_OPTS} ${PORTAGE_RSYNC_EXTRA_OPTS} ${SYNC}/ ${PORTDIR}/ + exec rsync ${PORTAGE_RSYNC_OPTS} ${PORTAGE_RSYNC_EXTRA_OPTS} ${SYNC}/ ${PORTDIR}/ >& "${sync_log}" fi emerge --sync -q -- 2.39.5