From: Nobuyoshi Nakada Date: 2007-09-05T02:51:44+09:00 Subject: Re: Refreshing 1.9 build Hi, At Wed, 5 Sep 2007 00:40:04 +0900, Bil Kleb wrote in [ruby-talk:267545]: > I'm a bit slow... can you explain further how > I might use 'set -e'? Setting -e option in a shell script causes the shell to exit immediately if a command exits with a non-zero status. So you can write many commands without && and \s. set -e echo "Building ${VERSION}-${SUFFIX}" mkdir ${VERSION}-${SUFFIX} cd ${VERSION}-${SUFFIX} ../configure --prefix=/usr/local --program-suffix=19 make sudo make install A difference is that it exits with a non-zero status by -e. -- Nobu Nakada