Commit b27980f6 authored by Chris Lamb's avatar Chris Lamb 💬

Require that build paths aren't "/" when checking for file-references-package-build-path.

parent 616a833d
......@@ -2379,7 +2379,8 @@ sub get_checks_for_file {
and $info->field('section', '') ne 'debian-installer'
and none { $_ eq $source_pkg } qw(base-files dpkg lintian);
$checks{'file-references-package-build-path'} = $build_path if $build_path;
$checks{'file-references-package-build-path'} = $build_path
if $build_path =~ m,^/.+,g;
return %checks;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment