alexk / rpms / rpm

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