[svn-commits] pabelanger: testsuite/bamboo/trunk r3060 - /bamboo/trunk/bin/ppa_script.sh

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Feb 21 15:40:45 CST 2012


Author: pabelanger
Date: Tue Feb 21 15:40:41 2012
New Revision: 3060

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3060
Log:
rework logic

Modified:
    bamboo/trunk/bin/ppa_script.sh

Modified: bamboo/trunk/bin/ppa_script.sh
URL: http://svnview.digium.com/svn/testsuite/bamboo/trunk/bin/ppa_script.sh?view=diff&rev=3060&r1=3059&r2=3060
==============================================================================
--- bamboo/trunk/bin/ppa_script.sh (original)
+++ bamboo/trunk/bin/ppa_script.sh Tue Feb 21 15:40:41 2012
@@ -6,7 +6,6 @@
 VERSION=$(cat ${TARBALLS}/.version)
 PKGVERSION="1:1.8~$(echo ${VERSION//-/.})"
 NOEPOCH_PKGVERSION="$(echo ${PKGVERSION} | cut -d':' -f 2)"
-PPAS=${PPAS:-ppa}
 
 if [ ! -d "${BUILD_AREA}" ]; then
 	mkdir ${BUILD_AREA}
@@ -31,9 +30,7 @@
 	dch -b --force-distribution --v "${PKGVERSION,,}-1~ppa1~${series}" "Automated PPA build." -D ${series}
 	svn-buildpackage -S -sa --svn-ignore-new --svn-builder=debuild --svn-noautodch
 
-	for ppa in $PPAS; do
-		dput --force $ppa "../${BUILD_AREA}/asterisk_${PKGVERSION,,}-1~ppa1~${series}_source.changes"
-	done
+	dput --force ${PPA} "../${BUILD_AREA}/asterisk_${PKGVERSION,,}-1~ppa1~${series}_source.changes"
 
 	svn revert -R .
 done




More information about the svn-commits mailing list