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

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


Author: pabelanger
Date: Fri Feb 17 13:08:20 2012
New Revision: 3047

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3047
Log:
Change to bash

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=3047&r1=3046&r2=3047
==============================================================================
--- bamboo/trunk/bin/ppa_script.sh (original)
+++ bamboo/trunk/bin/ppa_script.sh Fri Feb 17 13:08:20 2012
@@ -1,9 +1,10 @@
-#!/bin/sh
+#!/bin/bash
 
 BUILD_AREA=build-area
+TARBALLS=tarballs
 SERIES=${SERIES:-precise}
-VERSION=$(cat tarballs/.version)
-PKGVERSION=1:1.8~$(echo ${VERSION//-/.})-1
+VERSION=$(cat ${TARBALLS}/.version)
+PKGVERSION="1:1.8~$(echo ${VERSION//-/.})-1"
 
 if [ ! -f ${BUILD_AREA} ]; then
 	mkdir ${BUILD_AREA}




More information about the asterisk-commits mailing list