The following commit has been merged in the squeeze branch:
commit 084bb2908b91f95be95ac54cc8910f0a284628c3
Author: Niels Thykier <[email protected]>
Date: Fri Apr 5 23:43:45 2013 +0200
checks/control-files: Ignore symlinks in control.tar.gz
Signed-off-by: Niels Thykier <[email protected]>
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
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]