Added proper errorlevels

zircon^2
gareth 2007-05-16 18:04:59 +00:00
parent 3a28e39816
commit d6280bff6f
1 changed files with 10 additions and 3 deletions

View File

@ -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