aboutsummaryrefslogtreecommitdiffstats
path: root/find-lang.pl
diff options
context:
space:
mode:
authorLuc Menut <lmenut@mageia.org>2013-03-17 18:03:40 +0000
committerLuc Menut <lmenut@mageia.org>2013-03-17 18:03:40 +0000
commit4aeb4a8784d32492f708a8cf1836ec323e534478 (patch)
treeef293ec74f30b03fef1aa6c5bed8bb723c25a118 /find-lang.pl
parent77d281626b8c9aadfb4b368f5ee4c78b4cebb5e5 (diff)
downloadrpm-setup-4aeb4a8784d32492f708a8cf1836ec323e534478.tar
rpm-setup-4aeb4a8784d32492f708a8cf1836ec323e534478.tar.gz
rpm-setup-4aeb4a8784d32492f708a8cf1836ec323e534478.tar.bz2
rpm-setup-4aeb4a8784d32492f708a8cf1836ec323e534478.tar.xz
rpm-setup-4aeb4a8784d32492f708a8cf1836ec323e534478.zip
find-lang.pl : do not own man lang directories with --with-man1.168
patch from Thierry Vignaud (mga #3697, #9055)
Diffstat (limited to 'find-lang.pl')
-rwxr-xr-xfind-lang.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/find-lang.pl b/find-lang.pl
index 3b622da..bb70618 100755
--- a/find-lang.pl
+++ b/find-lang.pl
@@ -73,6 +73,7 @@ open(my $hlang, '>', "$pkgname.lang") or die "cannot open $pkgname.lang\n";
foreach my $f (sort keys %finallist) {
my ($lang, @otherlang) = keys %{ $finallist{$f}{lang} || {} };
+ next if $withman && !$allname && $finallist{$f}{dir};
my $l = sprintf("%s%s%s",
$finallist{$f}{dir} ? '%dir ' : '',
@otherlang == 0 && $lang && $lang ne 'C'