From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 0BFCA138696 for ; Sat, 26 Jan 2013 00:23:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9009B21C01F; Sat, 26 Jan 2013 00:23:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 16FE921C015 for ; Sat, 26 Jan 2013 00:23:10 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2FFE033DE05 for ; Sat, 26 Jan 2013 00:23:09 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id C8E53E4073 for ; Sat, 26 Jan 2013 00:23:07 +0000 (UTC) From: "Diego Elio Pettenò" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Diego Elio Pettenò" Message-ID: <1359159705.df7e31778afef98f28d2e3eb660e6f9769728e80.flameeyes@gentoo> Subject: [gentoo-commits] proj/flameeyes-tinderbox:master commit in: / X-VCS-Repository: proj/flameeyes-tinderbox X-VCS-Files: emerge-wrapper.sh tinderbox-restart.sh X-VCS-Directories: / X-VCS-Committer: flameeyes X-VCS-Committer-Name: Diego Elio Pettenò X-VCS-Revision: df7e31778afef98f28d2e3eb660e6f9769728e80 X-VCS-Branch: master Date: Sat, 26 Jan 2013 00:23:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: df2dc023-3c67-4d0a-884a-46778ef8f5e4 X-Archives-Hash: 4d32f7984080d48386a871f7873c45cd commit: df7e31778afef98f28d2e3eb660e6f9769728e80 Author: Diego Elio Pettenò flameeyes eu> AuthorDate: Sat Jan 26 00:21:45 2013 +0000 Commit: Diego Elio Pettenò gentoo org> CommitDate: Sat Jan 26 00:21:45 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/flameeyes-tinderbox.git;a=commit;h=df7e3177 Avoid deleting the emerge.log, just truncate it. --- emerge-wrapper.sh | 6 ++---- tinderbox-restart.sh | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/emerge-wrapper.sh b/emerge-wrapper.sh index a6f745c..1bd3ba1 100755 --- a/emerge-wrapper.sh +++ b/emerge-wrapper.sh @@ -15,9 +15,7 @@ # ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS # SOFTWARE. -if [[ -f /var/log/emerge.log ]]; then - rm -f /var/log/emerge.log -fi +echo > /var/log/emerge.log source /etc/portage/make.tinderbox.private.conf @@ -58,4 +56,4 @@ if [[ $res != 0 ]]; then fi fi -rm -f /var/log/emerge.log +echo > /var/log/emerge.log diff --git a/tinderbox-restart.sh b/tinderbox-restart.sh index 4cdc040..14c8e87 100755 --- a/tinderbox-restart.sh +++ b/tinderbox-restart.sh @@ -20,7 +20,7 @@ tboxdir=$(dirname $0) mkdir -p /var/cache/tinderbox reset_emergelog() { - rm -f /var/log/emerge.log + echo > /var/log/emerge.log } source /etc/portage/make.tinderbox.private.conf