aboutsummaryrefslogtreecommitdiffstats
path: root/find-lang.pl
diff options
context:
space:
mode:
Diffstat (limited to 'find-lang.pl')
-rwxr-xr-xfind-lang.pl3
1 files changed, 1 insertions, 2 deletions
diff --git a/find-lang.pl b/find-lang.pl
index 4014aa2..3b622da 100755
--- a/find-lang.pl
+++ b/find-lang.pl
@@ -60,8 +60,7 @@ File::Find::find(
} elsif ($file =~ m!^((/+usr/share/man)/([^/@.]+)[^/]*)/man[^/]+/([^/.]+)\.\d[^/]*!) {
return if !$withman;
my ($pkg, $lang, $langfile) = ($4, $3, $1);
- $file =~ s/\.[^\.]+$//;
- $file .= '.*';
+ $file =~ s/\.[^\.]+$/.*/;
parent_to_own($langfile, $file, $lang) if pkg_match($pkg);
} else {
return;