[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.4.3-182-gc374038



The following commit has been merged in the master branch:
commit baaf81cd46ffd4f53d5c7e0903aaa0f4f9d664f8
Author: Niels Thykier <niels@thykier.net>
Date:   Wed Jan 26 18:03:07 2011 +0100

    More '\n' => "\n" fixes (fixes broken cruft check)

diff --git a/unpack/unpack-srcpkg-l1 b/unpack/unpack-srcpkg-l1
index 1483aaf..d3618bd 100755
--- a/unpack/unpack-srcpkg-l1
+++ b/unpack/unpack-srcpkg-l1
@@ -102,7 +102,7 @@ if ($tarball =~ /\.(lzma|xz)\z/) {
 my @index;
 my $last = '';
 my $collect = sub {
-    my @lines = map { split '\n' } @_;
+    my @lines = map { split "\n" } @_;
     if ($last ne '') {
         $lines[0] = $last . $lines[0];
     }
@@ -114,7 +114,7 @@ my $collect = sub {
     for my $line (@lines) {
         $line =~ s/^h/-/;
         if ($line and $line !~ m,^(?:\S+\s+){5}\./$,) {
-            push(@index, $line . '\n');
+            push(@index, $line . "\n");
         }
     }
 };

-- 
Debian package checker


Reply to: