[23576] in Source-Commits

home help back first fref pref prev next nref lref last post

/svn/athena r23217 - trunk/debathena/third/common

daemon@ATHENA.MIT.EDU (andersk@MIT.EDU)
Mon Oct 27 03:19:38 2008

Date: Mon, 27 Oct 2008 03:19:08 -0400 (EDT)
From: andersk@MIT.EDU
Message-Id: <200810270719.DAA18821@drugstore.mit.edu>
To: source-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: andersk
Date: 2008-10-27 03:19:07 -0400 (Mon, 27 Oct 2008)
New Revision: 23217

Modified:
   trunk/debathena/third/common/debathenificator.sh
Log:
Support multiline Build-Depends: in add_build_depends.


Modified: trunk/debathena/third/common/debathenificator.sh
===================================================================
--- trunk/debathena/third/common/debathenificator.sh	2008-10-26 18:20:33 UTC (rev 23216)
+++ trunk/debathena/third/common/debathenificator.sh	2008-10-27 07:19:07 UTC (rev 23217)
@@ -46,7 +46,7 @@
 }
 
 add_build_depends () {
-    perl -0pe 's/^(Build-Depends:.*)$/$1, '"$1"'/m or die' -i debian/control
+    perl -0pe 's/^(Build-Depends:.*(?:\n[ \t].*)*)$/$1, '"$1"'/m or die' -i debian/control
 }
 
 add_debathena_provides () {


home help back first fref pref prev next nref lref last post