Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!decvax!tektronix!tekecs!dce From: dce@tekecs.UUCP (David Elliott) Newsgroups: net.unix Subject: Re: "if" statement in sh with -e flag Message-ID: <2172@tekecs.UUCP> Date: Sat, 24-Sep-83 16:24:31 EDT Article-I.D.: tekecs.2172 Posted: Sat Sep 24 16:24:31 1983 Date-Received: Mon, 26-Sep-83 23:56:26 EDT References: sri-arpa.5515 Lines: 9 The example you gave does not need the 'set -e'. Make will stop if the exit code returned by the "sh -c" is non-zero. In this case, if bar fails, the exit code will be nonzero and Make will stop with the message : ** Error code 1 Stop. David