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

steinm at alioth.debian.org steinm at alioth.debian.org
Thu Feb 19 18:12:54 UTC 2009


Author: steinm
Date: 2009-02-19 18:12:54 +0000 (Thu, 19 Feb 2009)
New Revision: 328

Modified:
   trunk/dh-make-pear
   trunk/dh-make-pecl
Log:
- use fmt instead of fold (Closes #516185)


Modified: trunk/dh-make-pear
===================================================================
--- trunk/dh-make-pear	2009-02-19 18:12:20 UTC (rev 327)
+++ trunk/dh-make-pear	2009-02-19 18:12:54 UTC (rev 328)
@@ -154,7 +154,7 @@
     -e "s/##depends##/${DEPENDS}/g" \
     -e "s/##architecture##/${DEPARCH}/g" \
 		${DEBTEMPDIR}/control > ${SRCPACKAGEDIR}/debian/control
-		${PHPPKGINFO} ${SRCPACKAGEDIR} description | fold -s -w 70|sed -e "s§^[ \t]*$§.§g" -e "s§^§ §g" >> ${SRCPACKAGEDIR}/debian/control
+		${PHPPKGINFO} ${SRCPACKAGEDIR} description | fmt -w 70|sed -e "s§^[ \t]*$§.§g" -e "s§^§ §g" >> ${SRCPACKAGEDIR}/debian/control
 sed -e "s/##packagename##/${DEBPACKAGEPREFIX}${PHP_PKG_LOWNAME}/g" \
     -e "s/##version##/${VERSION}/g" \
     -e "s/##pearpkgname##/${PHP_PKG_NAME}/g" \

Modified: trunk/dh-make-pecl
===================================================================
--- trunk/dh-make-pecl	2009-02-19 18:12:20 UTC (rev 327)
+++ trunk/dh-make-pecl	2009-02-19 18:12:54 UTC (rev 328)
@@ -269,7 +269,7 @@
 	${PHPPKGINFO} ${SRCPACKAGEDIR} summary|sed -e 's/^/ /g' >> ${SRCPACKAGEDIR}/debian/control
 	echo ""  >> ${SRCPACKAGEDIR}/debian/control
 	echo " ."  >> ${SRCPACKAGEDIR}/debian/control
-	${PHPPKGINFO} ${SRCPACKAGEDIR} description|fold -s -w70|sed -e 's/^[[:space:]]*$/./g'|sed -e 's/^/ /g' >> ${SRCPACKAGEDIR}/debian/control
+	${PHPPKGINFO} ${SRCPACKAGEDIR} description|fmt -w70|sed -e 's/^[[:space:]]*$/./g'|sed -e 's/^/ /g' >> ${SRCPACKAGEDIR}/debian/control
 	echo ""  >> ${SRCPACKAGEDIR}/debian/control
 	echo ""  >> ${SRCPACKAGEDIR}/debian/control
 




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