From: Wolfgang Denk Date: Mon, 21 Sep 2009 00:08:25 +0200 Subject: [U-Boot] [PATCH v2] MAKEALL: Add summary information In-Reply-To: <1253316982-20606-1-git-send-email-ptyser@xes-inc.com> References: <1253316982-20606-1-git-send-email-ptyser@xes-inc.com> Message-ID: <20090920220825.0D9C4832E864@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Peter Tyser, In message <1253316982-20606-1-git-send-email-ptyser@xes-inc.com> you wrote: > > index 1d50c34..a63d028 100755 > --- a/MAKEALL > +++ b/MAKEALL > @@ -1,5 +1,8 @@ > #!/bin/sh > > +# Print statistics when ctrl-c is pressed > +trap "print_stats; exit " 2 Why only on signal 2? Usually we use "1 2 3 15" in such cases. Also, you might add "0" here and then... > @@ -932,3 +956,5 @@ do > ;; > esac > done > + > +print_stats ...omit this chunk. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Prepare for tomorrow -- get ready. -- Edith Keeler, "The City On the Edge of Forever", stardate unknown