[Dh-make-php-commits] r255 - trunk

steinm at alioth.debian.org steinm at alioth.debian.org
Mon May 14 13:53:17 UTC 2007


Author: steinm
Date: 2007-05-14 13:53:16 +0000 (Mon, 14 May 2007)
New Revision: 255

Modified:
   trunk/dh-make-pear
Log:
- call /usr/bin/pear instead of pear
- fixed typo which prevents creation of source directory


Modified: trunk/dh-make-pear
===================================================================
--- trunk/dh-make-pear	2007-05-14 13:40:56 UTC (rev 254)
+++ trunk/dh-make-pear	2007-05-14 13:53:16 UTC (rev 255)
@@ -96,7 +96,7 @@
 	if [ -f ${PEARPACKAGENAME} ]; then
 		tar xzf ${PEARPACKAGENAME}
 	else
-		if TEMPMSG=$(pear download ${PEARPACKAGENAME} 2> /dev/null); then
+		if TEMPMSG=$(/usr/bin/pear download ${PEARPACKAGENAME} 2> /dev/null); then
 			echo ${TEMPMSG}
 			PEARPACKAGENAME=$(echo ${TEMPMSG} | awk -F ' ' '{print $2'})
 			tar xzf ${PEARPACKAGENAME}
@@ -121,7 +121,7 @@
 
 get_maintainer
 
-if [ -d ${SRCPACKAGEDI} ] ; then
+if [ -d ${SRCPACKAGEDIR} ] ; then
 	echo "Directory '${SRCPACKAGEDIR}' already exits."
 	exit
 fi




More information about the Dh-make-php-commits mailing list