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

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Feb 17 14:26:23 CST 2012


Author: pabelanger
Date: Fri Feb 17 14:26:19 2012
New Revision: 3053

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3053
Log:
NOEPOCH

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=3053&r1=3052&r2=3053
==============================================================================
--- bamboo/trunk/bin/ppa_script.sh (original)
+++ bamboo/trunk/bin/ppa_script.sh Fri Feb 17 14:26:19 2012
@@ -5,18 +5,18 @@
 SERIES=${SERIES:-precise}
 VERSION=$(cat ${TARBALLS}/.version)
 PKGVERSION="1:1.8~$(echo ${VERSION//-/.})"
-NOEPOCH_VERSION="$(echo ${VERSION} | cut -d':' -f 2)"
+NOEPOCH_PKGVERSION="$(echo ${PKGVERSION} | cut -d':' -f 2)"
 
 if [ ! -d "${BUILD_AREA}" ]; then
 	mkdir ${BUILD_AREA}
 fi
 
-if [ ! -f "${TARBALLS}/asterisk-${NOEPOCH_VERSION,,}.tar.gz" ]; then
-	echo "missing tarball: asterisk-${NOEPOCH_VERSION,,}.tar.gz"
+if [ ! -f "${TARBALLS}/asterisk-${NOEPOCH_PKGVERSION,,}.tar.gz" ]; then
+	echo "missing tarball: asterisk-${NOEPOCH_PKGVERSION,,}.tar.gz"
 fi
 
 cd ${TARBALLS}
-ln -s asterisk-${NOEPOCH_VERSION,,}.tar.gz asterisk_${NOEPOCH_VERSION,,}.orig.tar.gz
+ln -s asterisk-${NOEPOCH_PKGVERSION,,}.tar.gz asterisk_${NOEPOCH_PKGVERSION,,}.orig.tar.gz
 cd ..
 
 svn co http://svn.asterisk.org/svn/dpkg/asterisk/trunk asterisk




More information about the svn-commits mailing list