Author: jamessan
Date: 2009-10-03 04:08:31 +0000 (Sat, 03 Oct 2009)
New Revision: 2013

Modified:
   trunk/debian/changelog
   trunk/scripts/mk-build-deps.pl
Log:
mk-build-deps: Skip comment/blank lines when parsing the control file.  
(Closes: #549402)

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog      2009-10-03 04:08:19 UTC (rev 2012)
+++ trunk/debian/changelog      2009-10-03 04:08:31 UTC (rev 2013)
@@ -4,9 +4,12 @@
   * NOT RELEASED YET
 
   [ James Vega ]
-  * mk-build-deps: Use Pod::Usage to generate the --help message.  This keeps
-    the message in sync with the POD instead of keeping two different texts in
-    sync.  (Closes: #548245)
+  * mk-build-deps:
+    + Use Pod::Usage to generate the --help message.  This keeps the message
+      in sync with the POD instead of keeping two different texts in sync.
+      (Closes: #548245)
+    + Skip comment/blank lines when parsing the control file.  (Closes:
+      #549402)
   * debchange:
     + Based on a scan of the lintian lab, add '.', '!', and ':' to the set of
       punctuation characters we strip from the distribution name when we parse

Modified: trunk/scripts/mk-build-deps.pl
===================================================================
--- trunk/scripts/mk-build-deps.pl      2009-10-03 04:08:19 UTC (rev 2012)
+++ trunk/scripts/mk-build-deps.pl      2009-10-03 04:08:31 UTC (rev 2013)
@@ -161,6 +161,7 @@
     }
 
     while (<CONTROL>) {
+       next if /^#|^\s*$/;
        if (/^(?:Package|Source):\s*(\S+)/ && !$name) {
            $name = $1;
        }



-- 
To unsubscribe, send mail to [email protected].

Reply via email to