The following commit has been merged in the master branch:
commit d441eadb94015661074deed0c7f0122722185b50
Author: Ole Streicher <[email protected]>
Date: Tue Nov 15 10:03:36 2016 +0100
Remove warnings about undefined $_
diff --git a/devtools/blend-gen-control b/devtools/blend-gen-control
index 4cb8bdf..42e6090 100755
--- a/devtools/blend-gen-control
+++ b/devtools/blend-gen-control
@@ -565,6 +565,7 @@ sub load_task {
my $header;
for $header (qw(Depends Recommends Suggests)) {
+ last if !defined $_;
if (m/^$header:\s+(.+)$/ && $1 !~ /^\s*$/) {
my $pkgs = $1;
$pkgs =~ s/\s*\\//;
@@ -595,6 +596,8 @@ sub load_task {
}
}
+ next unless defined $_;
+
if (/^Avoid:\s+(.+)$/) {
my @pkgs = split(/\s*,\s*/, $1);
my $packages;
--
Git repository for blends code
_______________________________________________
Blends-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/blends-commit