From d6280bff6fdbcac1267b7c2a3ffff0707e21c303 Mon Sep 17 00:00:00 2001 From: gareth Date: Wed, 16 May 2007 18:04:59 +0000 Subject: Added proper errorlevels --- releng/dobuild.sh | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'releng') diff --git a/releng/dobuild.sh b/releng/dobuild.sh index 0fbb979..0286583 100755 --- a/releng/dobuild.sh +++ b/releng/dobuild.sh @@ -14,7 +14,14 @@ printf "Updating templates..." printf "Running prebuild..." cd build mono bin/Prebuild.exe /target nant - -printf "Doing the build..." -nant +if [ $? -eq 0 ] + if [ $? -eq 0 ] + printf "Doing the build..." + nant + else + exit 1 + fi +else + exit 1 +fi -- cgit v1.1