[Dh-make-php-commits] r322 - trunk
steinm at alioth.debian.org
steinm at alioth.debian.org
Fri Jan 23 21:01:01 UTC 2009
Author: steinm
Date: 2009-01-23 21:01:01 +0000 (Fri, 23 Jan 2009)
New Revision: 322
Modified:
trunk/dh-make-pecl
Log:
- fixed problem with warnings return when downloading a package
Modified: trunk/dh-make-pecl
===================================================================
--- trunk/dh-make-pecl 2008-05-30 19:38:52 UTC (rev 321)
+++ trunk/dh-make-pecl 2009-01-23 21:01:01 UTC (rev 322)
@@ -123,7 +123,7 @@
else
if TEMPMSG=$(/usr/bin/pecl download ${PECLPACKAGENAME} 2> /dev/null); then
echo ${TEMPMSG}
- PECLPACKAGENAME=$(echo ${TEMPMSG} | awk -F ' ' '{print $2'})
+ PECLPACKAGENAME=$(echo ${TEMPMSG} | sed 's/.*downloading \([^ ]*\).*/\1/g' )
tar xzf ${PECLPACKAGENAME}
else
echo "Downloading pecl package '${PECLPACKAGENAME}' failed!";
More information about the Dh-make-php-commits
mailing list