alexk / rpms / rpm

Forked from rpms/rpm 2 years ago
Clone
a5e32e
diff -up rpm-4.9.90.git11486/scripts/find-lang.sh.no-man-dirs rpm-4.9.90.git11486/scripts/find-lang.sh
a5e32e
--- rpm-4.9.90.git11486/scripts/find-lang.sh.no-man-dirs	2012-03-07 11:31:10.000000000 +0200
a5e32e
+++ rpm-4.9.90.git11486/scripts/find-lang.sh	2012-03-07 15:11:57.465801075 +0200
a5e32e
@@ -181,7 +181,7 @@ s:%lang(C) ::
a5e32e
 find "$TOP_DIR" -type d|sed '
a5e32e
 s:'"$TOP_DIR"'::
a5e32e
 '"$ALL_NAME$MAN"'s:\(.*/man/\([^/_]\+\).*/man[a-z0-9]\+/\)::
a5e32e
-'"$ALL_NAME$MAN"'s:\(.*/man/\([^/_]\+\).*/man[a-z0-9]\+$\):%lang(\2) \1*:
a5e32e
+'"$ALL_NAME$MAN"'s:\(.*/man/\([^/_]\+\).*/man[a-z0-9]\+$\):%lang(\2) \1/*:
a5e32e
 s:^\([^%].*\)::
a5e32e
 s:%lang(C) ::
a5e32e
 /^$/d' >> $MO_NAME