From: Joel Becker Date: Thu, 20 Sep 2007 22:56:46 GMT Subject: Re: [PATCH] new test from the submodule chapter of the user manual Message-ID: <20070920225646.GB3490@tasint.org> In-Reply-To: On Thu, Sep 20, 2007 at 07:47:32PM +0100, Johannes Schindelin wrote: > > Silly question: why use the '&&' when you can 'set -e'? As it > > currently stands, a failure will still go back around the loop... > > A "set -e" will make the script exit AFAIR. That's not what we want. A > simple "|| break" after the "cd .." will work, though. Oh, drat. It's run in eval, not a subshell. Joel -- Life's Little Instruction Book #94 "Make it a habit to do nice things for people who will never find out." Joel Becker Principal Software Developer Oracle E-mail: joel.becker@oracle.com Phone: (650) 506-8127