[asterisk-commits] pabelanger: testsuite/bamboo/trunk r3035 - /bamboo/trunk/bin/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Feb 9 15:22:06 CST 2012


Author: pabelanger
Date: Thu Feb  9 15:22:03 2012
New Revision: 3035

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3035
Log:
Error handling

Modified:
    bamboo/trunk/bin/build-asterisk-chroot.sh

Modified: bamboo/trunk/bin/build-asterisk-chroot.sh
URL: http://svnview.digium.com/svn/testsuite/bamboo/trunk/bin/build-asterisk-chroot.sh?view=diff&rev=3035&r1=3034&r2=3035
==============================================================================
--- bamboo/trunk/bin/build-asterisk-chroot.sh (original)
+++ bamboo/trunk/bin/build-asterisk-chroot.sh Thu Feb  9 15:22:03 2012
@@ -4,12 +4,16 @@
 URL=${URL:-http://svn.asterisk.org/svn/asterisk}
 BRANCH=${BRANCH:-trunk}
 
+set +e
 apt-get -y install subversion
+set -e
 
 svn co $URL/$BRANCH asterisk
 cd asterisk
+set +e
 ./contrib/scripts/install_prereq install
 ./contrib/scripts/get_mp3_source.sh
+set -e
 
 COMMON_CONFIGURE_ARGS="--enable-dev-mode"
 




More information about the asterisk-commits mailing list