From: Glynn Clements Subject: Re: Question about exception Date: Mon, 12 Dec 2005 01:06:06 +0000 Message-ID: <17308.52478.107867.892755@cerise.gclements.plus.com> References: <439CAF25.5030704@tuxdoit.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <439CAF25.5030704@tuxdoit.com> Sender: linux-admin-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii" To: MARG Cc: linux-admin@vger.kernel.org MARG wrote: > I'm making this BASH script to install a ful web system in Linux: > I'd like to abort the whole script, if some package compile aborts with > an error. > For example, if there is an error compiling MySQL, i don't want the > script to follow to PostgreSQL. > I want it to abort with an error. > > How can i do this ? ( ./configure ... && make && make install ) || exit 1 -- Glynn Clements