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..." printf "Running prebuild..."
cd build cd build
mono bin/Prebuild.exe /target nant mono bin/Prebuild.exe /target nant
if [ $? -eq 0 ]
if [ $? -eq 0 ]
printf "Doing the build..." printf "Doing the build..."
nant nant
else
exit 1
fi
else
exit 1
fi