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

[SCM] Debian package checker branch, squeeze, updated. 2.4.3-16-gddd5248



The following commit has been merged in the squeeze branch:
commit 084bb2908b91f95be95ac54cc8910f0a284628c3
Author: Niels Thykier <niels@thykier.net>
Date:   Fri Apr 5 23:43:45 2013 +0200

    checks/control-files: Ignore symlinks in control.tar.gz
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/checks/control-files b/checks/control-files
index 5a42c77..283c20a 100644
--- a/checks/control-files
+++ b/checks/control-files
@@ -67,10 +67,9 @@ while (<IN>) {
     next if $file eq './';
 
     $file =~ s,^(\./),,;
-    $file =~ s/ link to .*//;
-    $file =~ s/ -> .*//;
-
-    next if $file eq './';
+    # control files are not symlinks nor hardlinks
+    next if $file =~ s/ link to .*//;
+    next if $file =~ s/ -> .*//;
 
     # valid control file?
     unless ( exists $ctrl{$file} ) {

-- 
Debian package checker


Reply to: