[23336] in Source-Commits
/svn/athena r22990 - trunk/debathena/third/common
daemon@ATHENA.MIT.EDU (ghudson@MIT.EDU)
Sat May 31 16:04:21 2008
Date: Sat, 31 May 2008 16:03:19 -0400 (EDT)
From: ghudson@MIT.EDU
Message-Id: <200805312003.QAA29879@drugstore.mit.edu>
To: source-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: ghudson
Date: 2008-05-31 16:03:19 -0400 (Sat, 31 May 2008)
New Revision: 22990
Modified:
trunk/debathena/third/common/debathenificator.sh
Log:
In append_description() in debathenificator, don't treat lines
containing only whitespace as continuation lines for the Description
field, as they are treated as separator lines by the dpkg tools.
Modified: trunk/debathena/third/common/debathenificator.sh
===================================================================
--- trunk/debathena/third/common/debathenificator.sh 2008-05-31 16:00:11 UTC (rev 22989)
+++ trunk/debathena/third/common/debathenificator.sh 2008-05-31 20:03:19 UTC (rev 22990)
@@ -19,7 +19,7 @@
}
append_description () {
- perl -0pe 'open THREE, "</dev/fd/3"; $x = <THREE>; s/(^Description:.*\n( .*\n)*)/$1$x/gm or die' -i debian/control 3<&0
+ perl -0pe 'open THREE, "</dev/fd/3"; $x = <THREE>; s/(^Description:.*\n( .*\S.*\n)*)/$1$x/gm or die' -i debian/control 3<&0
}
add_build_depends () {