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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Feb 17 13:51:23 CST 2012


Author: pabelanger
Date: Fri Feb 17 13:51:20 2012
New Revision: 3050

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3050
Log:
tarball updates

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=3050&r1=3049&r2=3050
==============================================================================
--- bamboo/trunk/bin/ppa_script.sh (original)
+++ bamboo/trunk/bin/ppa_script.sh Fri Feb 17 13:51:20 2012
@@ -6,9 +6,15 @@
 VERSION=$(cat ${TARBALLS}/.version)
 PKGVERSION="1:1.8~$(echo ${VERSION//-/.})-1"
 
-if [ ! -f ${BUILD_AREA} ]; then
+if [ ! -d "${BUILD_AREA}" ]; then
 	mkdir ${BUILD_AREA}
 fi
+
+if [ ! -f "${TARBALLS}/asterisk-1.8~${VERSION,,}.tar.gz" ]; then
+	echo "missing tarball: asterisk-1.8~${VERSION,,}.tar.gz"
+fi
+
+ln -s ${TARBALLS}/asterisk-1.8~${VERSION,,}.tar.gz ${TARBALLS}/asterisk_1.8~${VERSION,,}.orig.tar.gz
 
 svn co http://svn.asterisk.org/svn/dpkg/asterisk/trunk asterisk
 cd asterisk




More information about the asterisk-commits mailing list