public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Petteri Räty" <betelgeuse@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/libbash:master commit in: utils/
Date: Wed,  1 Jun 2011 12:19:51 +0000 (UTC)	[thread overview]
Message-ID: <6f8073955015091f3e8a082d8bd16b3ee4dee832.betelgeuse@gentoo> (raw)

commit:     6f8073955015091f3e8a082d8bd16b3ee4dee832
Author:     Mu Qiao <qiaomuf <AT> gentoo <DOT> org>
AuthorDate: Tue May 31 07:52:50 2011 +0000
Commit:     Petteri Räty <betelgeuse <AT> gentoo <DOT> org>
CommitDate: Wed Jun  1 12:15:21 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/libbash.git;a=commit;h=6f807395

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
 
 echo "Generating metadata at $outputdir"
 
-./instruo -D ${PORTDIR:-/usr/portage/} -o $outputdir 2>$outputdir/error_output
+time ./instruo -D ${PORTDIR:-/usr/portage/} -o $outputdir 2>$outputdir/error_output
 
 echo "Running diff..."
 
@@ -26,7 +26,7 @@ do
         for path in $cache_dir/*
         do
             filename=${path##*\/}
-            diff -u $cache_dir/$file $outputdir/$category/$filename > $outputdir/$category/$filename.diff
+            diff -u $cache_dir/$file $outputdir/$category/$filename > $outputdir/$category/$filename.diff 2>>$outputdir/error_output
             error_count+=$?
             total_num+=1
         done



             reply	other threads:[~2011-06-01 12:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-01 12:19 Petteri Räty [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-06-01 12:19 [gentoo-commits] proj/libbash:master commit in: utils/ Petteri Räty
2011-06-01 12:19 Petteri Räty
2011-06-09 11:46 Petteri Räty
2011-06-09 11:46 Petteri Räty
2012-06-03  9:08 Petteri Räty
2012-07-08  9:31 Petteri Räty

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6f8073955015091f3e8a082d8bd16b3ee4dee832.betelgeuse@gentoo \
    --to=betelgeuse@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox