diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-04-15 13:27:43 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-04-15 13:27:43 +0300 |
commit | f68f58975b27b724f363c86e11699af9fc05bee7 (patch) | |
tree | 833600a476e94274c4ab0ad18227857d092284dd /scripts | |
parent | 21b6c0af17bf95cd00b63b2a935eb3bdf848ff7f (diff) | |
download | librpm-tizen-f68f58975b27b724f363c86e11699af9fc05bee7.tar.gz librpm-tizen-f68f58975b27b724f363c86e11699af9fc05bee7.tar.bz2 librpm-tizen-f68f58975b27b724f363c86e11699af9fc05bee7.zip |
Make find-lang.sh --with-man brp-compress friendly (rhbz#440994)
Patch from Ville Skyttä
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/find-lang.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/find-lang.sh b/scripts/find-lang.sh index 7a74e0224..0ca47075b 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 |