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

Re: [SCM] Debian package checker branch, master, updated. 2.5.11-222-g70ed124



On Wed, 2013-04-03 at 22:26 +0000, Niels Thykier wrote:
> --- a/lib/Lintian/Collect/Package.pm
> +++ b/lib/Lintian/Collect/Package.pm
> @@ -219,10 +219,13 @@ sub _fetch_extracted_dir {
[...]
>          # strip leading ./ - if that leaves something, return the path there
> -        $file =~ s,^\.?/*+,,go;
> -        return "$dir/$file" if $file;
> +        if ($file =~ s,^(?:\.?/)++,,go) {

The new version there looks like it has too many "+"s?

Regards,

Adam


Reply to: