r6176 - /scripts/qa/versioncheck.pl

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Tue Jul 31 10:41:53 UTC 2007


Author: dmn
Date: Tue Jul 31 10:41:53 2007
New Revision: 6176

URL: http://svn.debian.org/wsvn/?sc=1&rev=6176
Log:
Ignore empty lines in debian/watch

Modified:
    scripts/qa/versioncheck.pl

Modified: scripts/qa/versioncheck.pl
URL: http://svn.debian.org/wsvn/scripts/qa/versioncheck.pl?rev=6176&op=diff
==============================================================================
--- scripts/qa/versioncheck.pl (original)
+++ scripts/qa/versioncheck.pl Tue Jul 31 10:41:53 2007
@@ -517,7 +517,7 @@
         $watch =~ s/\\\n//gs;
         my @watch_lines = split(/\n/, $watch) if $watch;
 
-        @watch_lines = grep( (!/^#/ and !/^version=/), @watch_lines );
+        @watch_lines = grep( (!/^#/ and !/^version=/ and !/^\s*$/), @watch_lines );
 
         foreach(@watch_lines)
         {




More information about the Pkg-perl-cvs-commits mailing list