Re: lintian: r73 - in trunk: checks debian testset testset/filenames/debian
On Fri, Feb 27, 2004 at 01:34:51AM +0100, jeroen@wolffelaar.nl wrote:
> - if ($link =~ m,^/([^/]+),) {
> - # absolute link
> + if ($link =~ m,//,) {
> + print "E: $pkg $type: symlink-has-double-slash $file $link\n";
> + # rest of the checks assume this isn't the case...
> + goto NEXT_LINK;
> + } elsif ($link =~ m,./$,) {
> + print "E: $pkg $type: symlink-ends-with-slash $file $link\n";
> + # rest of the checks assume this isn't the case...
> + goto NEXT_LINK;
> + }
Wouldn't it be better to strip out the offending slashes and
proceed with the other tests?
Gruesse,
--
Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/
Reply to: