[23412] in Source-Commits

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

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

daemon@ATHENA.MIT.EDU (broder@MIT.EDU)
Thu Jul 10 16:30:24 2008

Date: Thu, 10 Jul 2008 16:29:55 -0400 (EDT)
From: broder@MIT.EDU
Message-Id: <200807102029.QAA03390@drugstore.mit.edu>
To: source-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: broder
Date: 2008-07-10 16:29:54 -0400 (Thu, 10 Jul 2008)
New Revision: 23066

Modified:
   trunk/debathena/third/common/debathenificator.sh
Log:
In debathenificator, allow a section other than debathena-system to be
specified

Modified: trunk/debathena/third/common/debathenificator.sh
===================================================================
--- trunk/debathena/third/common/debathenificator.sh	2008-07-10 15:37:06 UTC (rev 23065)
+++ trunk/debathena/third/common/debathenificator.sh	2008-07-10 20:29:54 UTC (rev 23066)
@@ -28,7 +28,8 @@
 schr apt-get -qq -y update
 
 munge_sections () {
-    perl -0pe 's/^Section: /Section: debathena-system\//gm or die' -i debian/control
+    section=${1:-debathena-section}
+    perl -0pe "s/^Section: /Section: $section\\//gm or die" -i debian/control
 }
 
 add_changelog () {


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