From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1S3AyP-0007wd-N3 for garchives@archives.gentoo.org; Thu, 01 Mar 2012 18:43:29 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EFA9FE07C3; Thu, 1 Mar 2012 18:43:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id C2ABBE07C3 for ; Thu, 1 Mar 2012 18:43:16 +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 2FCE81B4028 for ; Thu, 1 Mar 2012 18:43:16 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id E695AE542C for ; Thu, 1 Mar 2012 18:43:14 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1330579657.879fba692436df2ccd72e0f23ea954245796711e.vapier@gentoo> Subject: [gentoo-commits] proj/crossdev:master commit in: / X-VCS-Repository: proj/crossdev X-VCS-Files: crossdev X-VCS-Directories: / X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 879fba692436df2ccd72e0f23ea954245796711e X-VCS-Branch: master Date: Thu, 1 Mar 2012 18:43:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 9bb6b3f1-0e9c-4583-9083-46978a587211 X-Archives-Hash: f71048f087427342de50468305529e2c commit: 879fba692436df2ccd72e0f23ea954245796711e Author: Mike Frysinger gentoo org> AuthorDate: Thu Mar 1 00:19:20 2012 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Thu Mar 1 05:27:37 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/crossdev.git;= a=3Dcommit;h=3D879fba69 crossdev: make build log creation more bullet proof Fix some corner cases where crossdev would issue ugly warnings due to existing files/missing dirs/etc... while trying to create log files for people to post to bugs. Signed-off-by: Mike Frysinger gentoo.org> --- crossdev | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/crossdev b/crossdev index 1c9a5b7..f0306fc 100755 --- a/crossdev +++ b/crossdev @@ -959,6 +959,7 @@ doemerge() { =20 local d for d in "${PORTAGE_TMPDIR}"/portage/${atom}*/work/ ; do + [[ -d ${d} ]] || continue pushd "${d}" >/dev/null mkdir -p ../temp # sanity! find -name config.log | \ @@ -966,7 +967,7 @@ doemerge() { xz > ../temp/${pn}-config.logs.tar.xz popd "${d}" >/dev/null done - xz -zk "${logfile}" + xz -zkf "${logfile}" =20 die_logs "${pn} failed :(" \ "${logfile}.xz" \