8dd1aac03e
- abort transaction on python callback crash - package signing fixes (#442761, #463482) - fix uncompress macro wrt bzip - force cloexec all open descriptors on scriptlet execution - make find-lang --with-man brp-compress friendly - handle headerLoad() failure in rpmReadHeader() correctly - fix --nodirtokens build option (#462391) - drop no longer necessary jar.so.debug kludge (#442264) - remove buggy, i386-specific RDTSC timing code (#435309) - fix retrieval of multiple package through a proxy (#450205) - ensure default SIGPIPE handler for --pipe (#444389)
30 lines
1.0 KiB
Diff
30 lines
1.0 KiB
Diff
commit 3c441dc5a1f257ecc114ea72da618e12f22d3ef1
|
|
Author: Panu Matilainen <pmatilai@redhat.com>
|
|
Date: Tue Apr 15 13:27:43 2008 +0300
|
|
|
|
Make find-lang.sh --with-man brp-compress friendly (rhbz#440994)
|
|
|
|
Patch from Ville Skyttä
|
|
|
|
diff --git a/scripts/find-lang.sh b/scripts/find-lang.sh
|
|
index 7a74e02..0ca4707 100755
|
|
--- a/scripts/find-lang.sh
|
|
+++ b/scripts/find-lang.sh
|
|
@@ -153,14 +153,14 @@ s:%lang(C) ::
|
|
find $TOP_DIR -type d|sed '
|
|
s:'"$TOP_DIR"'::
|
|
'"$ALL_NAME$MAN"'s:\(.*/man/\([^/_]\+\).*/man[a-z0-9]\+/\)::
|
|
-'"$ALL_NAME$MAN"'s:\(.*/man/\([^/_]\+\).*/man[a-z0-9]\+$\):%lang(\2) \1:
|
|
+'"$ALL_NAME$MAN"'s:\(.*/man/\([^/_]\+\).*/man[a-z0-9]\+$\):%lang(\2) \1*:
|
|
s:^\([^%].*\)::
|
|
s:%lang(C) ::
|
|
/^$/d' >> $MO_NAME
|
|
|
|
find $TOP_DIR -type f -o -type l|sed '
|
|
s:'"$TOP_DIR"'::
|
|
-'"$NO_ALL_NAME$MAN"'s:\(.*/man/\([^/_]\+\).*/man[a-z0-9]\+/'"$NAME"'\.[a-z0-9].*\):%lang(\2) \1:
|
|
+'"$NO_ALL_NAME$MAN"'s:\(.*/man/\([^/_]\+\).*/man[a-z0-9]\+/'"$NAME"'\.[a-z0-9].*\):%lang(\2) \1*:
|
|
s:^\([^%].*\)::
|
|
s:%lang(C) ::
|
|
/^$/d' >> $MO_NAME
|