[asterisk-commits] pabelanger: testsuite/bamboo/trunk r3044 - /bamboo/trunk/bin/ppa_script.sh

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Feb 17 12:42:54 CST 2012


Author: pabelanger
Date: Fri Feb 17 12:42:50 2012
New Revision: 3044

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3044
Log:
Add PKGVERSION


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=3044&r1=3043&r2=3044
==============================================================================
--- bamboo/trunk/bin/ppa_script.sh (original)
+++ bamboo/trunk/bin/ppa_script.sh Fri Feb 17 12:42:50 2012
@@ -3,6 +3,7 @@
 BUILD_AREA=build-area
 SERIES=${SERIES:-precise}
 VERSION=$(cat tarballs/.version)
+PKGVERSION=1:1.8~${VERSION//-/.}-1
 
 if [ ! -f ${BUILD_AREA} ]; then
 	mkdir ${BUILD_AREA}
@@ -11,6 +12,6 @@
 svn co http://svn.asterisk.org/svn/dpkg/asterisk/trunk asterisk
 cd asterisk
 
-dch -b --force-distribution --v ${VERSION} "Automated PPA build." -D ${SERIES}
+dch -b --force-distribution --v ${PKGVERSION} "Automated PPA build." -D ${SERIES}
 svn-buildpackage -S -sa --svn-ignore-new
 




More information about the asterisk-commits mailing list