diff options
author | gareth | 2007-05-16 18:04:59 +0000 |
---|---|---|
committer | gareth | 2007-05-16 18:04:59 +0000 |
commit | d6280bff6fdbcac1267b7c2a3ffff0707e21c303 (patch) | |
tree | 7f54be7195f35427a995f25bd4641608dba3748f /releng/dobuild.sh | |
parent | FIXED THE BUILD! (diff) | |
download | opensim-SC_OLD-d6280bff6fdbcac1267b7c2a3ffff0707e21c303.zip opensim-SC_OLD-d6280bff6fdbcac1267b7c2a3ffff0707e21c303.tar.gz opensim-SC_OLD-d6280bff6fdbcac1267b7c2a3ffff0707e21c303.tar.bz2 opensim-SC_OLD-d6280bff6fdbcac1267b7c2a3ffff0707e21c303.tar.xz |
Added proper errorlevels
Diffstat (limited to 'releng/dobuild.sh')
-rwxr-xr-x | releng/dobuild.sh | 13 |
1 files changed, 10 insertions, 3 deletions
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..." | |||
14 | printf "Running prebuild..." | 14 | printf "Running prebuild..." |
15 | cd build | 15 | cd build |
16 | mono bin/Prebuild.exe /target nant | 16 | mono bin/Prebuild.exe /target nant |
17 | 17 | if [ $? -eq 0 ] | |
18 | printf "Doing the build..." | 18 | if [ $? -eq 0 ] |
19 | nant | 19 | printf "Doing the build..." |
20 | nant | ||
21 | else | ||
22 | exit 1 | ||
23 | fi | ||
24 | else | ||
25 | exit 1 | ||
26 | fi | ||
20 | 27 | ||