From 711412e1e685e40ba8449e4fbe6eef6885cb14e0 Mon Sep 17 00:00:00 2001 From: fgerlits Date: Mon, 21 Aug 2006 10:37:36 +0000 Subject: [PATCH] minor bugfix: stop executing the script when an error is found --- livesupport/bin/setupDevelopmentEnvironment.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/livesupport/bin/setupDevelopmentEnvironment.sh b/livesupport/bin/setupDevelopmentEnvironment.sh index d9b7f629b..a400e5e9b 100755 --- a/livesupport/bin/setupDevelopmentEnvironment.sh +++ b/livesupport/bin/setupDevelopmentEnvironment.sh @@ -98,15 +98,15 @@ fi # Create the configure script #------------------------------------------------------------------------------- rm -rf $tmpdir/configure -$bindir/autogen.sh +$bindir/autogen.sh || exit 1 $basedir/configure --prefix=$usrdir --with-www-docroot=$usrdir/var \ - --with-apache-group=$apache_group + --with-apache-group=$apache_group || exit 1 #------------------------------------------------------------------------------- # Compile everything at once, including the tools #------------------------------------------------------------------------------- -make -C $basedir all +make -C $basedir all || exit 1 #-------------------------------------------------------------------------------