teknoraver / rpms / rpm

Forked from rpms/rpm 4 months ago
Clone

Blame rpm-4.7.0-findlang-kde3.patch

Panu Matilainen e9261a
commit acfe923bf21a4402a48b6e357a53a398b107f0b3
Panu Matilainen e9261a
Author: Ville Skyttä <ville.skytta@iki.fi>
Panu Matilainen e9261a
Date:   Sun Apr 12 21:39:50 2009 +0300
Panu Matilainen e9261a
Panu Matilainen e9261a
    Fix --with-kde with KDE3 (rhbz#466009).
Panu Matilainen e9261a
Panu Matilainen e9261a
diff --git a/scripts/find-lang.sh b/scripts/find-lang.sh
Panu Matilainen e9261a
index 2dd9e0d..bb25b31 100755
Panu Matilainen e9261a
--- a/scripts/find-lang.sh
Panu Matilainen e9261a
+++ b/scripts/find-lang.sh
Panu Matilainen e9261a
@@ -138,7 +138,7 @@ if [ x"$KDE3_HTML" != x -a -d "$TOP_DIR$KDE3_HTML" ]; then
Panu Matilainen e9261a
 find $TOP_DIR$KDE3_HTML -type d|sed '
Panu Matilainen e9261a
 s:'"$TOP_DIR"'::
Panu Matilainen e9261a
 '"$NO_ALL_NAME$KDE"'s:\(.*/HTML/\)\([^/_]\+\)\(.*/'"$NAME"'/\)::
Panu Matilainen e9261a
-'"$NO_ALL_NAME$KDE"'s:\(.*/HTML\)\([^/_]\+\)\(.*/'"$NAME"'\)$:%lang(\2) \1\2\3:
Panu Matilainen e9261a
+'"$NO_ALL_NAME$KDE"'s:\(.*/HTML/\)\([^/_]\+\)\(.*/'"$NAME"'\)$:%lang(\2) \1\2\3:
Panu Matilainen e9261a
 '"$ALL_NAME$KDE"'s:\(.*/HTML/\)\([^/_]\+\)\(.*/[a-zA-Z0-9.\_\-]\+/\)::
Panu Matilainen e9261a
 '"$ALL_NAME$KDE"'s:\(.*/HTML/\)\([^/_]\+\)\(.*/[a-zA-Z0-9.\_\-]\+$\):%lang(\2) \1\2\3:
Panu Matilainen e9261a
 s:^\([^%].*\)::