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

Correct logic of package-contains-no-arch-dependent-files detection (found via Perl::Critic).

parent e281171e
......@@ -429,7 +429,7 @@ sub run {
and $finfo
and $finfo !~ m/\bASCII text\b/;
if ($file->dirname !~ m,^(?:usr)?/lib/([^/]+)/$,) {
if ($file->dirname =~ m,^(?:usr)?/lib/([^/]+)/$,) {
$arch_dep_files = 1 if $TRIPLETS->known($1 // '');
}
......
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