[svn-commits] pabelanger: testsuite/bamboo/trunk r3034 - /bamboo/trunk/bin/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Feb 9 15:10:56 CST 2012


Author: pabelanger
Date: Thu Feb  9 15:10:53 2012
New Revision: 3034

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3034
Log:
More generic script

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

Modified: bamboo/trunk/bin/build-asterisk-chroot-wrapper.sh
URL: http://svnview.digium.com/svn/testsuite/bamboo/trunk/bin/build-asterisk-chroot-wrapper.sh?view=diff&rev=3034&r1=3033&r2=3034
==============================================================================
--- bamboo/trunk/bin/build-asterisk-chroot-wrapper.sh (original)
+++ bamboo/trunk/bin/build-asterisk-chroot-wrapper.sh Thu Feb  9 15:10:53 2012
@@ -1,6 +1,8 @@
 #!/usr/bin/env bash
 
 BINDIR=/usr/local/bin/bamboo/
+SERIES=${SERIES:-lucid}
+ARCH=${ARCH:-amd64}
 
 mkdir bamboo
 cd bamboo
@@ -10,6 +12,4 @@
 cd ../..
 rm -rf bamboo
 
-set -e
-
-/usr/local/bin/pbuilder-lucid-amd64 execute ${BINDIR}/build-asterisk-chroot.sh
+/usr/local/bin/pbuilder-${SERIES}-${ARCH} execute ${BINDIR}/build-asterisk-chroot.sh




More information about the svn-commits mailing list