[Blends-commit] [SCM] blends-dev branch, master, updated. 4c71dbe118703d32f5e4a4e21d8c24fea28646e9

Ole Streicher olebole at debian.org
Thu Nov 10 21:36:49 UTC 2016


The following commit has been merged in the master branch:
commit 4c71dbe118703d32f5e4a4e21d8c24fea28646e9
Author: Ole Streicher <olebole at debian.org>
Date:   Thu Nov 10 22:35:51 2016 +0100

    Remove backslashes from RFC834 continuation lines

diff --git a/devtools/blend-gen-control b/devtools/blend-gen-control
index 1b4298d..4cb8bdf 100755
--- a/devtools/blend-gen-control
+++ b/devtools/blend-gen-control
@@ -567,10 +567,12 @@ sub load_task {
         for $header (qw(Depends Recommends Suggests)) {
             if (m/^$header:\s+(.+)$/ && $1 !~ /^\s*$/) {
 		my $pkgs = $1;
+		$pkgs =~ s/\s*\\//;
 		while (<TASKFILE>) {
 		    last if (m/^\S+/ || m/^\s*$/);
+		    chop $_;
+		    $_ =~ s/\s*\\//;
 		    $pkgs .= $_;
-		    chomp $pkgs;
 		}
                 $taskinfo{$curpkg}{$header} = ()
                     if (! exists $taskinfo{$curpkg}{$header});

-- 
Git repository for blends code



More information about the Blends-commit mailing list