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 1QRkP2-00023m-BS for garchives@archives.gentoo.org; Wed, 01 Jun 2011 12:20:00 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9230B1C14D; Wed, 1 Jun 2011 12:19:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 448961C14D for ; Wed, 1 Jun 2011 12:19:53 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BD4D31B400E for ; Wed, 1 Jun 2011 12:19:52 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id EC7568050E for ; Wed, 1 Jun 2011 12:19:51 +0000 (UTC) From: "Petteri Räty" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Petteri Räty" Message-ID: <6f8073955015091f3e8a082d8bd16b3ee4dee832.betelgeuse@gentoo> Subject: [gentoo-commits] proj/libbash:master commit in: utils/ X-VCS-Repository: proj/libbash X-VCS-Files: utils/metadata_diff.sh X-VCS-Directories: utils/ X-VCS-Committer: betelgeuse X-VCS-Committer-Name: Petteri Räty X-VCS-Revision: 6f8073955015091f3e8a082d8bd16b3ee4dee832 Date: Wed, 1 Jun 2011 12:19:51 +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: X-Archives-Hash: 9ca8744a1d64b769ecec51b9e0324a3b commit: 6f8073955015091f3e8a082d8bd16b3ee4dee832 Author: Mu Qiao gentoo org> AuthorDate: Tue May 31 07:52:50 2011 +0000 Commit: Petteri R=C3=A4ty gentoo org> CommitDate: Wed Jun 1 12:15:21 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/libbash.git;a= =3Dcommit;h=3D6f807395 Utility: print total time for metadata generation diff errors are redirected to $outputdir/error_output. --- utils/metadata_diff.sh | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/metadata_diff.sh b/utils/metadata_diff.sh index 1e9d60f..46fd323 100755 --- a/utils/metadata_diff.sh +++ b/utils/metadata_diff.sh @@ -11,7 +11,7 @@ fi =20 echo "Generating metadata at $outputdir" =20 -./instruo -D ${PORTDIR:-/usr/portage/} -o $outputdir 2>$outputdir/error_= output +time ./instruo -D ${PORTDIR:-/usr/portage/} -o $outputdir 2>$outputdir/e= rror_output =20 echo "Running diff..." =20 @@ -26,7 +26,7 @@ do for path in $cache_dir/* do filename=3D${path##*\/} - diff -u $cache_dir/$file $outputdir/$category/$filename > $o= utputdir/$category/$filename.diff + diff -u $cache_dir/$file $outputdir/$category/$filename > $o= utputdir/$category/$filename.diff 2>>$outputdir/error_output error_count+=3D$? total_num+=3D1 done