Author: jfrederic.clere(a)jboss.com
Date: 2011-07-13 06:27:37 -0400 (Wed, 13 Jul 2011)
New Revision: 2798
Modified:
trunk/build/daemon/buildnat.sh
Log:
make sure whole build fails if any part fails.
Modified: trunk/build/daemon/buildnat.sh
===================================================================
--- trunk/build/daemon/buildnat.sh 2011-06-22 15:56:15 UTC (rev 2797)
+++ trunk/build/daemon/buildnat.sh 2011-07-13 10:27:37 UTC (rev 2798)
@@ -53,14 +53,14 @@
(cd ../unix
if $build_ssl; then
if $force_64; then
- ./build.sh jboss-native -ssl -cache -64
+ ./build.sh jboss-native -ssl -cache -64 || exit 1
else
- ./build.sh jboss-native -ssl -cache
+ ./build.sh jboss-native -ssl -cache || exit 1
fi
fi
if $force_64; then
- ./build.sh jboss-native -cache -64
+ ./build.sh jboss-native -cache -64 || exit 1
else
- ./build.sh jboss-native -cache
+ ./build.sh jboss-native -cache || exit 1
fi
-)
+) || exit 1