Exit make-testing on script failure
authorReto Buerki <reet@codelabs.ch>
Sun, 9 Dec 2012 08:41:54 +0000 (09:41 +0100)
committerTobias Brunner <tobias@strongswan.org>
Thu, 17 Jan 2013 15:54:54 +0000 (16:54 +0100)
testing/make-testing

index 3739299..7c2e4d5 100755 (executable)
@@ -6,20 +6,20 @@ rm -f $LOGFILE
 
 if [ $ENABLE_BUILD_BASEIMAGE = "yes" ]
 then
-       $PWD/scripts/build-baseimage
+       $PWD/scripts/build-baseimage || exit 1
 fi
 
 if [ $ENABLE_BUILD_GUESTKERNEL = "yes" ]
 then
-       $PWD/scripts/build-guestkernel
+       $PWD/scripts/build-guestkernel || exit 1
 fi
 
 if [ $ENABLE_BUILD_UMLROOTFS = "yes" ]
 then
-       $PWD/scripts/build-umlrootfs
+       $PWD/scripts/build-umlrootfs || exit 1
 fi
 
 if [ $ENABLE_BUILD_UMLHOSTFS = "yes" ]
 then
-       $PWD/scripts/build-umlhostfs $HOSTS
+       $PWD/scripts/build-umlhostfs $HOSTS || exit 1
 fi